0

I am new to Raspberry Pi 2, I have a windows application and a windows service which I wanted to run on Raspberry Pi2. I have windows 10 IOT installed on Raspberry Pi 2.

I had refereed to some sites that we need to install mono. If I am not wrong mono totally different again I need to write the whole code for mono, can any explain how can I run windows application and service which are compiled in x86 mode.

Any suggestions how we could install Winodws 7 or Windows 8 would also helpful.

Ghanima
  • 15,958
  • 17
  • 65
  • 125
Ravi Kanth
  • 101
  • 1
  • 4

2 Answers2

2

Mono is only needed if you want run C# under Raspbian or another Linux.

Note that Windows 10 "IoT Core" for the Raspberry Pi does not support WinForms. You need to program for the UWP.

Recompilation should be unnecessary if your code is pure C# with no native code since C# (not VB6/ C++ / Delphi) normally runs on VMs (CLRs). Both Mono and Windows "IoT Core" might not support all features available on Windows Desktop CLRs though , you will have to check that manually.

flakeshake
  • 6,244
  • 1
  • 16
  • 35
2

It's not possible to run x86 CPU code in ARM CPUs.

Yes, you have to rewrite your program in C# which can be ran with mono.

C# programs can also be ran with Linux as long as you develop the application with mono.

(Almost) all windows versions except Windows 10 IOT are for x86 processors. Windows 10 IOI is for ARM processors which the raspberry pi has. The processors are completely different.

Good luck rewriting your app!

Also, there's no real OS in Windows 10 IOT. It's all commands and it's strip bare of any programs you're familiar with Windows.

Tek
  • 161
  • 4