Openxdk samples arn't workin.
I'm sorry, but you can't import a DirectX program into Cxbx. It only works on exe that was made from xbe with Cxbx conversion methiod.Smellypumba said:I just used the "Import Exe" function in Cxbx to import a really simple DirectX program I made that just displays a spinning cylinder, and It gave me:
"The Instruction at "0x00402071" referenced memory at "0x00000004". The memory could not be "read"
What's at 0x00000004?
The Only places this memory location shows up in the sources, are flags, So unless it's the Digital Signature, I don't really know whyIt's trying to access that location.
No, what I mean is an exe that was formed as a result of an attempt to emulate an XDK app. OpenXDK apps generally crash when it attempts to create an exe of that OpenXDK app.Smellypumba said:So When it says "import EXE" It means "Import EXE that has been Relinked using CXBE"...
And besides, not only won't the Win32 stuff won't "mix" with the Xbox, a Win32 exe and an Xbox exe are two totally different formats.Smellypumba said:I Compiled this .exe with VC++ 6, using the DirectX 9 SDK, I didn't use OpenXDK at all.
I then used Cxbx's ImportEXE function, thinking it would convert an EXE to XBE. (Now that I think about it, That wouldn't work for two reasons,
1) Why would you want to do that in the first place? When you have an EXE that works fine, why emulate it?
2) This program was made with DirectX 9, not 8.