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.

Author
Message
Habatar HIE
22
Years of Service
User Offline
Joined: 10th Jan 2003
Location: Spain
Posted: 24th Feb 2003 00:27
Hi,

Im creating ha DLL for Dark Basic, the DLL create ha Information Message Box.

When I compile the Dark Basic Program and run, an error apear:

Could not find function `message@@YAXPAD@Z` in 0:core.dll

I belive that the String Table ar OK
What is the problem? Help me please?

Thanks
Habatar, director of HIE Entertainment programing goup.
Web comming soon
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 24th Feb 2003 00:36
you remembered to save the String Table as a resource and then recompile the DLL right?

also remembered to give the function a value name... suchas

Message%(export + import values)%?message@@YAXPAD@Z%(description)

so say its a standard void function like this



the string for that would probably be
?MyFunction@@YAHXX (or close to that i can't remember exactly)

and you'd want to create a String Table and in the first entry put
My Function%0%?MyFunction@@YAHXX

you then save that into the resource table ... and recompile - put it into the user plugins, and then use the function

My Function()
and it'll bring up a popup box

obviously to get the original value you use, you crack open the DLL in notepad and do a find for "MyFunction"
thats what you need

they always start ?

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 24th Feb 2003 00:39
And dont forget to save into the user-plugin directory.

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
Habatar HIE
22
Years of Service
User Offline
Joined: 10th Jan 2003
Location: Spain
Posted: 24th Feb 2003 21:42
Hi,

Thanks for help me, now works correctly,
Im creating a DLL, in some days I will post here.

Thanks

Habatar, director of HIE Entertainment programing goup.
Web comming soon

Login to post a reply

Server time is: 2025-05-19 05:54:59
Your offset time is: 2025-05-19 05:54:59