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 Strings With Delphi

Author
Message
The Lone Programmer
21
Years of Service
User Offline
Joined: 29th Jan 2003
Location: California, USA
Posted: 21st Jun 2005 15:57
Hey,
I looked at the very old Delphi DLL tutorial with the integer examples.

I am curious on how to return strings in DBP instead of integers.

Would I be using:
String
PString
PChar

If possible can you write out the function and string table for me with a simple example on returning a string for DBP?

Thanks,
The Lone Programmer

Mess With The Best, Die Like The Rest.
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 22nd Jun 2005 01:30 Edited at: 22nd Jun 2005 18:15
I wrote a commented example TPC (4th post).
here


Play Nice! Play Basic! Version 1.073

Login to post a reply

Server time is: 2024-11-23 09:41:59
Your offset time is: 2024-11-23 09:41:59