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 / C++ Question - Returning Values

Author
Message
MummyKillerSLO
14
Years of Service
User Offline
Joined: 5th Jul 2009
Location: Object Position Y(ObjChair)
Posted: 5th Jul 2009 20:48
Hey people!

I started learning C++ yesterday and I want to know, how can I return string to DarkBASIC Professional?

My code which is not working:


I am big noob here and I know that you will find a lot of errors but anyway

I have software and now I am ready to make DLL files
tiresius
21
Years of Service
User Offline
Joined: 13th Nov 2002
Location: MA USA
Posted: 6th Jul 2009 08:34
I am by no means an expert on DLLs but you should check out a help file for more help on returning values to DBPro. It is found in this directory:

Dark Basic Professional\Help\documents\1 Third Party Commands.htm

Returning strings looks a little tricky.

I'm not a real programmer but I play one with DBPro!
MummyKillerSLO
14
Years of Service
User Offline
Joined: 5th Jul 2009
Location: Object Position Y(ObjChair)
Posted: 6th Jul 2009 14:26
ok tnx for reply

I have software and now I am ready to make DLL files
chunks chunks
17
Years of Service
User Offline
Joined: 2nd Jan 2007
Location: ackworth uk
Posted: 6th Jul 2009 18:37
Take a look at the attached project it shows the way i return strings , thanks to IanM & diggsey for the info .


good luck
chunks

nvidia geforce 9500gt + amd athlon 64
windows vista ultimate.

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-04-24 00:19:47
Your offset time is: 2024-04-24 00:19:47