Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Making dlls with Code::Blocks

Author
Message
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 10th Jul 2006 19:51
I tried following the tutorial for making Dlls that comes with DBPro, but since I have Code::Blocks and not VC++ I can't quite work it out. Can anyway provide some help for me?

Cheers

Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 11th Jul 2006 00:27 Edited at: 11th Jul 2006 00:30
This thread should help explain everything: http://forum.thegamecreators.com/?m=forum_view&t=55616&b=18

and feel free to use the attached zip file as a template(it has a codeblocks file)

if you get tons of undefined references or non existent include files then you may not have the directx sdk installed
to install it: download the directx sdk from microsoft(search for it) and install it where ever
then once you got the directx sdk all setup goto codeblocks and then goto compiler options(or if you just want it for 1 project, goto the projects build options) then goto directories and under the tab of compiler, goto add and then type "<path to directx sdk>include" and then press ok and then goto the tab for linker, type "<path to directx sdk>libx86" and then at the bottom press ok which will save the compiler options and stuff and then your ready to go!


edit:
this is all assuming your using mingw which is the default compiler for codeblocks, if your using a different compiler than this may vary a bit

JouleOS and friends
great thanks to http://galekus.com for FREE HOSTING!

Attachments

Login to view attachments
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 14th Jul 2006 01:58
Thanks Three Score

Xarshi
18
Years of Service
User Offline
Joined: 25th Dec 2005
Location: Ohio
Posted: 18th Jul 2006 16:47
I wish my dlls would load Otherwise this is really great.

all ben needs is his band,his guitar,and his computer

Login to post a reply

Server time is: 2024-11-22 12:34:06
Your offset time is: 2024-11-22 12:34:06