SDK and C++ 2005

Joined
Sep 15, 2006
Messages
511
I'm going to get back into programming this game again and as I no longer have 2003 after a vista reinstall and hard drive format. I was wondering if anyone had found a way to get the 2003 project to work with 2005? If you have please tell me, a quick search came up with little that was useful.

Thanks,
ClassicThunder
 
So I gather just need to download the 2003 toolkit and it will hook up to the compiler and compile with out any alterations?

Looks interesting though I don't have time to test it yet.
 
I'd follow Kael's instructions carefully if you're going to go with codeblocks. You'll also have to remove the resource file (don't remember what it's called, but it's the only one in the resources folder) and the resource.h header in order to compile correctly.

Additionally there are a few optional linker options you can add to your project mentioned later in that thread which keep the DLL from being too large, and appear to help avoid a situation I found myself in before switching where the program was essentially "crash resistant" even if the code itself should crash because of a bug (which leads to intermittent crashes for end users, OOS errors in multiplayer, and a testing headache the like of which I hope you never experience :) )

The options are:
/SUBSYSTEM:WINDOWS /OPT:REF /OPT:ICF

I would highly recommend them, you will get a warning about kernel32.dll or some such when compiling, but it causes no problems and the DLLs this setup produces have been smaller, more reliable and faster than any I've made in the past. My roommate went from having over a minute or two of lag time in the modern age between turns, to being only a few seconds behind my machine, which obviously made multiplayer a lot more fun :)
 
Excellent I just got a compiled dll to run a whole game w/o any errors or crashes. Thanks for the help.
 
Back
Top Bottom