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 Professional Discussion / CALL DLL inside function doesn't work

Author
Message
MrTAToad
17
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 17th Sep 2002 12:57
...its says the function could not be found, although calling from outside the function works okay.
Yes, I really am THAT good...
MrTAToad
17
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 17th Sep 2002 12:59
Oops - its the LOAD DLL that actually doesn't work, and if that doesn't load the DLL then CALL DLL cant work...

(The LOAD DLL does work outside the function)

Yes, I really am THAT good...
MrTAToad
17
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 17th Sep 2002 13:50
I think I found the problem - it seems functions cant have AS BYTE, Integer etc in them - it overwrites any following code.

Rather a shame as it would be nice to explicitly define variables here too

Yes, I really am THAT good...

Login to post a reply

Server time is: 2019-11-13 19:52:44
Your offset time is: 2019-11-13 19:52:44