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 / Sample DLL Problems

Author
Message
Riddick
20
Years of Service
User Offline
Joined: 7th Jul 2004
Location: Monkey Island!!!
Posted: 23rd Sep 2004 02:54
I have compiled and created the sample DLL "Testcommands.dll" using MS Visual C++ 6.0 with the supplied Visual C project and workspace files. But when i run the a program that uses the command in this DLL


As explained in the Third Party Commands Document, I get the following error message:
Quote: "Could not find function '?PrintText@@YAXPAD@Z' in 0:dbprocore.dll"


It seems as though it is finding the string table correctly but is unable to reference the function correctly at runtime.

Any ideas?

Thanks

Eclipse
Surreal Studio IanG
21
Years of Service
User Offline
Joined: 21st Sep 2003
Location: Cyberspace...I think
Posted: 23rd Sep 2004 03:36
you need to go in to your dll - in notepad - and get the decorated function name for the function


Used to be Phoenix Insane : PC Spec-AMD Athlon 2.0Ghz,GeForce FX5200 128mb,512MB of ram, Win XP Pro SP2 . Last reformat: 17/09/2004
Riddick
20
Years of Service
User Offline
Joined: 7th Jul 2004
Location: Monkey Island!!!
Posted: 23rd Sep 2004 05:34
I found the problem.
The Documentation is correct but the sample code isn't.

Thanks

Eclipse
JeBuS
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Undisclosed Location, Dominion of JeBuS
Posted: 23rd Sep 2004 05:45
So throw the correct sample code up here for the next person to have problems with it.


High quality models and graphics, low prices. Graphics for the rest of us.

Login to post a reply

Server time is: 2024-11-21 11:16:39
Your offset time is: 2024-11-21 11:16:39