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 / Can I write a TPC dll in Borland C++ Builder???

Author
Message
Duffer
23
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 1st Nov 2003 01:13
anyone?
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 1st Nov 2003 01:15
Possibly, if you can create string tables and use the cdecl calling convention.


Avatar & Logo by Indi. Insert witty comment here...
Duffer
23
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 1st Nov 2003 01:17
@ TCA,

Thanks, I'll reinstall that freebie and have a delve...
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 1st Nov 2003 02:35
You won't get access to the Constructor/Destructor/ReceiveCorePtr functions though because Borland C++ mangles names differently
swdave
23
Years of Service
User Offline
Joined: 6th Oct 2002
Location: United States
Posted: 2nd Nov 2003 06:54
You should be able to include a .def file to get the correct names.

LIBRARY MYPROJECT.DLL

EXPORTS
?Constructor@@YAXXZ = _Constructor
?Destructor@@YAXXZ = _Destructor
?ReceiveCoreDataPtr@@YAXPAX@ = _ReceiveCoreDataPtr

With the correct borland names.
Duffer
23
Years of Service
User Offline
Joined: 9th Feb 2003
Location: chair
Posted: 2nd Nov 2003 16:24
Thanks all... as it happens, have now bought Visual Studio (ebay)...
OSX Using Happy Dude
22
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 2nd Nov 2003 17:18
Yes, cant go far wrong with VS.


Avatar & Logo by Indi. Insert witty comment here...

Login to post a reply

Server time is: 2026-07-26 08:30:42
Your offset time is: 2026-07-26 08:30:42