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 / returning a simple string; just need an example

Author
Message
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 24th Apr 2005 14:55
i prefer for this to be in c but i could probably figure it out by c++ also

X-Patch x-patch.exe(gui):75% make.exe:5% x-patch.dll(runtime dll):0% developed on win xp home sp2
NoteJam
19
Years of Service
User Offline
Joined: 11th Apr 2005
Location:
Posted: 2nd May 2005 13:32
Article, what's wrong with c strings?
http://www.idinews.com/string.html

Take a look here: http://www.google.com/search?hl=en&lr=&ie=ISO-8859-1&q=c+dll+call+return+a+string&btnG=Search
Maybe you should move on to C++
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 3rd May 2005 02:50 Edited at: 3rd May 2005 02:51
Read the DarkBasic Pro instructions for how to return strings from a DLL.

If its not for DBPro, then look at the links given.

Visit http://homepages.nildram.co.uk/~nickk
Calm down dear! Its only an election...
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 7th May 2005 10:40
hmmmm
C++
well just need to figure out how to use that friggin ms C++ toolkit thingy
although i follow the instructions to make a simple program yet something goes wrong somehwere always

also
i use bcx to "template" a program then use pelles c to add more power
such as my dbp dll used bcx to make the core of the function then i just powered it up and added appropriate things(such as stringtables) in C

also bcx can compile to c++ but it is only vc++

X-Patch x-patch.exe(gui):75% make.exe:5% x-patch.dll(runtime dll):0% developed on win xp home sp2

Login to post a reply

Server time is: 2024-11-21 13:59:02
Your offset time is: 2024-11-21 13:59:02