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 / Problem with a delphi dll

Author
Message
UDun
18
Years of Service
User Offline
Joined: 28th Dec 2005
Location: France
Posted: 29th Dec 2005 02:01
Hello,

I'm french so sorry for my english

I wrote a simple dll with delphi 6 with a useless function I know ^^ It was just to try.

In db pro, I used the LOAD DLL and CALL DLL commands to call my 'Mes' function. Everything worked great.

But, I decided to put my dll in the 'plugins-user' folder in order to use directly my 'Mes' function but db pro didn't recognize my command.

Can you tell me what's wrong ? Dll, delphi... ?

Thanks...

Coding is dangerous for health ...
IanG
20
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 29th Dec 2005 11:16
the problem occurs because you have to add a string table to the dll for it to work in the plugins-user folder, there is a document that comes with dbpro in the help system some where but that's for c++ not delphi

someone who uses delhpi will be better at explaining how you do it


amd athlon xp 2600+,1280mb,FX 5200 128mb,200gb,xp pro sp2
UDun
18
Years of Service
User Offline
Joined: 28th Dec 2005
Location: France
Posted: 29th Dec 2005 22:32
Thanks IanG. It was a string table problem like you said.

I found the solution reading freddix 's explanations in the newsletters and now everything is working.

Here are the links :

- Part 1 : http://www.thegamecreators.com/data/newsletter/newsletter_issue_19.html#15

- Part 2 : http://www.thegamecreators.com/data/newsletter/newsletter_issue_20.html#12

- Part 3 : http://www.thegamecreators.com/data/newsletter/newsletter_issue_22.html#17

@++

Coding is dangerous for health ...

Login to post a reply

Server time is: 2024-11-21 18:50:25
Your offset time is: 2024-11-21 18:50:25