Hi Cas, thanks very much, that was extremely helpful! I did run into two problems that I hope you can help me with.
First, I have your CPP compiling fine and it does run my game properly, but when the launcher exits it also stops the Java right away. So I just see a window blink for a second. If I make the launcher put up a message box and leave it there, the whole game will run fine, but with a message box of course. There must be some way for the launcher or Java to keep the process running even after the launcher quits. Have you encountered this problem before?
Second, can standard Molebox bundle JVM (with DLLs), or I have to buy Molebox Pro? It seems like its only Pro, but I still can’t get the game running with Molebox even with the cheap fix of putting a message box up. Some ending debug info from Molebox Pro evaluation version:
[quote][ 275:04c8] :DLL_LOADER:call to default routine 0x6d7cd0fd
[ 275:04c8] :DLL_LOADER:done with result 0x1
[ 276:04c8] :BOX:CloseFile: ‘JRE\BIN\CLIENT\JVM.DLL’
[ 277:04c8] :WRAPPER:LoadLibrary: jre\bin\client\jvm.dll, handle is 6d6b0000
[ 295:0730] :FakeMainDLL: hDLL 0x6d6b0000, reason 0x2, reserved 0x0,defEPoint 0xcaaf2e19, pzVname 0x962f50
[ 295:0730] :DLL_LOADER: DLL_THREAD_ATTACH (D:\PROJECT\GAME\MAJINWAR 2\FINAL\APP-WIN\jre\bin\client\jvm.dll)
[ 295:0730] :DLL_LOADER:call to default routine 0x6d7cd0fd
[ 296:0730] :DLL_LOADER:done with result 0x1
[/quote]
Thanks very much!