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 / DLL stability - Any known issues or gotchas?

Author
Message
keithml
19
Years of Service
User Offline
Joined: 25th Jul 2005
Location: Florida
Posted: 28th Oct 2005 23:01
Hi. I am developing a DLL in Delphi for DarkBasic Pro. Unfortunately, I am getting odd crashes during calls to it. I can't seem to pin down why. I am using the globstruct, doing the deletestring thing, and crying alot. I actually can get a number of functions to work with no problem. But some don't and for no apparent reason. Before I go at it again, I thought I would ask the general question:

Are there any known stability issues/gotchas when calling DLLs from DarkBasic Pro?

I know it is a broad question, but any input would help ...

Thanks,
Keith
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 29th Oct 2005 01:51
make sure your functions are exported using the cdecl convention (and not stdcall). Also make sure the string table entries are correct.

That's about all I can say without having seen the code.


Play Nice! Play Basic! Version 1.089

Login to post a reply

Server time is: 2024-11-21 19:31:34
Your offset time is: 2024-11-21 19:31:34