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
doctorE
20
Years of Service
User Offline
Joined: 30th Jan 2004
Location:
Posted: 23rd Feb 2004 04:03
I'm not sure if this is the right forum to post this, but I think it is. If not, then sorry.

Well, I just downloaded Bloodshed Dev-C++, and I am wondering if you could make good DLLs for DarkBASIC/DBPro with that. If you can, then please help me get started.

Thanks!

Uhh... How do I edit my signature?
waffle
22
Years of Service
User Offline
Joined: 9th Sep 2002
Location: Western USA
Posted: 25th Feb 2004 11:31 Edited at: 25th Feb 2004 11:36
yes you can.....

step 1 - learn to make a DLL
sounds simple, and really it is.
BUT:
You'll need to research a bit on there site to properly configure the compiler to make DLLs. Thats the hard part (assuming you know C++ code)

step 2 - code a DLL for DBE or DBPro
its like any DLL except DB used CDEC instead of STND Call.
Check on C++ namemangling for how your function will be called.
There is a compiler option to dissable name mangling, but you'll have fun trying to find it.

step 3 - Make DLL a plugin
This just means making a string table for your exported functions.
See DBPro docs on parameter listings and verify C++ name manglings.

example source available here:
http://darkbasic.thegamecreators.com/?m=forum_view&t=26215&b=6

internet gaming group
current project http://home.comcast.net/~norman.perry/Archon.html

Login to post a reply

Server time is: 2024-11-26 05:42:35
Your offset time is: 2024-11-26 05:42:35