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.

Geek Culture / DBCe DLL's

Author
Message
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 10th Jun 2004 00:10 Edited at: 10th Jun 2004 00:10
If I were to make a dll using the DBP tutorial, would it work in DBCe? (without changing the code)
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 10th Jun 2004 01:13
Theorectically yes. However, if the TPC command requires initialisation through the Constructor function, then it may crash.


The place for wonderful plug-ins and things.
Keep your friends close, and your cats even closer.
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 10th Jun 2004 01:49
So how would go about changing whatever it is you just said (remember, I'm new to dlls and C++ in general actually)
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 10th Jun 2004 02:20 Edited at: 10th Jun 2004 02:20
They don't work in the same way.

Strings are different
DBC does *not* call any Constructor/Destructor functions in your DLL
There is no Core pointer in DBC

There are example DLLs that come with the enhancement pack : C:\Program Files\Dark Basic Software\Dark Basic\extras\YourOwnCommands\

(Hopefully those backslashes will come out right ... EDIT: Bah! Try again)

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins, source and the Interface library for Visual C++ 6, .NET and now for Dev-C++ http://www.matrix1.demon.co.uk
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 10th Jun 2004 05:56
Thanks Ian. When are you usually on MSN? I added you to my list if you were wondering who that was.
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 10th Jun 2004 15:42
I don't always connect, but I'm trying to get back in the habit again.

I'm on usually from 6pm to 11pm Uk time.

I don't use DBC much any more. In fact, I haven't even reinstalled it since I rebuilt my laptop.

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins, source and the Interface library for Visual C++ 6, .NET and now for Dev-C++ http://www.matrix1.demon.co.uk

Login to post a reply

Server time is: 2024-09-22 02:45:31
Your offset time is: 2024-09-22 02:45:31