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.

Author
Message
Fods
21
Years of Service
User Offline
Joined: 18th Nov 2002
Location:
Posted: 23rd Nov 2002 12:02
Im trying to get the basic's of making DLL's in C/C++ for Darkbasic pro. can anyone point me in the right direction... such a tutorial on the net or even give me a description - thanks peeps
Why....?
MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 23rd Nov 2002 12:21
Well, once you've written the DLL, you need to make sure the function name(s) are in the .DEF file (so you dont need to use decorated names)

Then its just a matter of loading the DLL and calling it.

Good news everybody! I really am THAT good...
IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 23rd Nov 2002 23:59
... or precede each function declaration with '__declspec(dllexport)'.

Patch 3 (when it's released) will include simple instructions on creating extra commands inplemented in a DLL.

Login to post a reply

Server time is: 2024-03-28 18:10:07
Your offset time is: 2024-03-28 18:10:07