"Is not valid Win32 application" error (compiling

Irrlicht.Net is no longer developed or supported, Irrlicht.Net Cross Platform is a much more complete wrapper. Please ask your C# related questions on their forums first.
Locked
MacK
Posts: 9
Joined: Sun Oct 29, 2006 2:31 am

"Is not valid Win32 application" error (compiling

Post by MacK »

I'm getting this error:
"is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)"

I am *not* trying to compile the program in 64 bit, I only want 32 bit execution, the program is set to compile in 32 bit.

How can I prevent this error?

I am using Windows XP X64 with Visual Studio 2005 PRO (C#)

EDIT: This is probably caused by .NET framework automatically running programs as 64 bit.

That's great, so is the only way to fix this is to use a 64 bit edition of irrlicht.net?

Can someone provide the libraries for 1.3? Irrlicht does not compile for me. Over 200 errors.
konni
Posts: 1
Joined: Tue Apr 24, 2007 1:52 pm

Post by konni »

Look at this link:
http://forums.microsoft.com/MSDN/ShowPo ... 6&SiteID=1

or use directly:
C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Ldr64.exe setwow

For me it works, but why ? Take a look at the above link and :D
Locked