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.

DarkBASIC Discussion / Loadin a c++ dll with more than one param

Author
Message
Tom
22
Years of Service
User Offline
Joined: 28th Jan 2003
Location:
Posted: 27th Jun 2003 12:57
Hi

I'm having a few problems with running a dll with two ints for input. The the c++ is fine its just the DB code.
The Function is as follows.
DARKDLL DWORD gdata(int,int);
With just one int it works fine.

The DB code is.
value=call dll(1,"?gdata@@YAKH@Z",10,10)
I think it somthing to do with this "?gdata@@YAKH@Z".

Thanks

[email protected]
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 27th Jun 2003 13:16
It looks like the ?dgata function name hasn't recorded the fact that you need two integers. Get the name again - it should be two K's or two H's (cant remember which)

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
Tom
22
Years of Service
User Offline
Joined: 28th Jan 2003
Location:
Posted: 28th Jun 2003 01:29
Thank you

That was a lot of help, you were right just add another H after the last H in the string.

Login to post a reply

Server time is: 2025-05-20 01:45:57
Your offset time is: 2025-05-20 01:45:57