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 / Strings In Dlls

Author
Message
EddieB
20
Years of Service
User Offline
Joined: 29th Sep 2004
Location: United Kingdom
Posted: 6th Jun 2005 05:35
hello all,

I am making a dll for dbpro and i am getting confused here.
When I excute my commands in dbpro I get a failed to write error :S

Here is the function I am using:



And here is the string table:


It knows the function is there becuase it compiled. Then I i got the error.

Many Thanks, Edday
IanG
20
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 6th Jun 2005 05:55
first of all have you got the core pointer - via adding the 3 extra functions?

if you have then define my command as extern "C" __declspec(dllexport)

and change you string table to Test%0%TESTP%void

and try it again

Used to be Phoenix_insane registered in september 2003 despite what the date says to the left <--
PC - amd athlon 2.0ghz, 512mb, GeForce FX 5200 128mb, 200gb, xp pro sp2
EddieB
20
Years of Service
User Offline
Joined: 29th Sep 2004
Location: United Kingdom
Posted: 6th Jun 2005 06:14 Edited at: 6th Jun 2005 06:26
That still does not work, Here is my hole source code now:



EDIT: It says here it cannot be found in dbpcore.
IanG
20
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 7th Jun 2005 00:45
try this instead


the problem is is that you are using the core data pointer, but you have not recieved it

Used to be Phoenix_insane registered in september 2003 despite what the date says to the left <--
PC - amd athlon 2.0ghz, 512mb, GeForce FX 5200 128mb, 200gb, xp pro sp2
EddieB
20
Years of Service
User Offline
Joined: 29th Sep 2004
Location: United Kingdom
Posted: 7th Jun 2005 00:48
NVM , I have done it now thanks to APEX

Thanks for your help IanG

Login to post a reply

Server time is: 2024-11-21 13:57:57
Your offset time is: 2024-11-21 13:57:57