help required for a dumb person - compiling dll

Marnok

Marnok
Joined
Mar 24, 2008
Messages
506
I'm obviously too dumb today to get things to work. I'm trying to make some small changes so I took the following steps. Alonmg the way I

encountered and resolved numerous small problems (which are probably FAQ'd somewhere):

downloaded the CvGameCoreDLL.031d source;
downloaded and installed VC++ 2005 express (could not find 2003);
downloaded and installed Platform SDK ;
updated paths for includes etc;
changed the "force conformance in for loop scope" thingy;
altered a couple of lines in the .rc rile to use winres.h instead of afxres.h;
loaded project (removed source control bindings);
compiled as Final Release;
backup original dll for safety and put release dll in folder

I am using Win XP SP2 so this is the Platform SDK I downloaded. Thing is, it doesn't have winres.h nor afsres.h in my download. I found one in the

2003 Server SDK and that let me create the DLL, but game crashes during option selection. I suspect this may be the problem - I'm not understanding something here or just not thinking about it right. If anyone reading this is thinking "aha, I know what he is doing wrong", please let me know! Thanks
 
Kael has a guide on how to do this in the "Creation & Customization" subforum "Tutorials" a bit busy now or I'd dredge you a link, but I am reasonably certain it is stickied, so you should find it easy enough :)

I can't recall which C++ you have to use, but I am reasonably certain it is C++ v 7.0 (I know that 6.0 doesn't work because that is what I have and I was pissed). So you'll have to use Codeblocks (but it tells you everything you need in the tutorial, all of it is free)
 
Back
Top Bottom