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.

DarkBASIC Professional Discussion / making DLLs: where is "globstruct.h"? PLEASE HELP!!

Author
Message
skyser
22
Years of Service
User Offline
Joined: 11th Sep 2003
Location: New York, NY
Posted: 5th Oct 2003 09:50
Hi there,

I'm trying to get a DLL function to return a string and I'm following the examples in the tutorial. But the tutorial says to include "globstruct.h" and I can't seem to find this anywhere. Is it even included with DBPro?

[Any working code examples would also be appreciated]

Please reply quickly if you can, I've got the rest of the functions working and I'd like to post it to the code area when it's done.

Thanks!!!!

--skyser
Shady 2005 Simpson
22
Years of Service
User Offline
Joined: 26th Aug 2003
Location: Newcastle, England
Posted: 5th Oct 2003 10:15
eh?

You can't make DLL's within DBPro, you need a C++/Delphi/whatever compiler, DarkBASIC doesn't include globstruct.h.
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 5th Oct 2003 10:20
globstruct is in the help directory...

[dbp]\\help\\documention\\tpc\\testexample2

or something like that...

skyser
22
Years of Service
User Offline
Joined: 11th Sep 2003
Location: New York, NY
Posted: 5th Oct 2003 10:23
thanks Raven!!!!!!

--skyser
Shady 2005 Simpson
22
Years of Service
User Offline
Joined: 26th Aug 2003
Location: Newcastle, England
Posted: 5th Oct 2003 10:53
is it?

David T
Retired Moderator
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 5th Oct 2003 13:38
Quote: "You can't make DLL's within DBPro, you need a C++/Delphi/whatever compiler, DarkBASIC doesn't include globstruct.h. "


Mkaing DLLS to use within DBP, not from DBP.

c:/dos
c:/dos run
run dos run

Login to post a reply

Server time is: 2026-07-25 09:59:03
Your offset time is: 2026-07-25 09:59:03