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.

Newcomers DBPro Corner / Using DLL functions

Author
Message
CKy
21
Years of Service
User Offline
Joined: 26th Jan 2003
Location:
Posted: 25th Jan 2004 02:49
hey i need help (both mentally and physically)
i downloaded some third party dll's and stuff, but i dunno how to use them lol. i can use the load function, but how do u call the actual command from the dll? i enter "cameramovement()" from the IRQ camera controls dll, but DBP picks it up as an error, cause it cant find the command (it thinks im using dbp's set of commands). help?
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 25th Jan 2004 03:10
wouldn't the parameter be inside the parethesis?

"eureka" - Archimedes
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 25th Jan 2004 04:02
If it's a tpc dll then you just move it into
C:\Program Files\Dark Basic Software\Dark Basic Professional\Compiler\plugins-user\
Then use the commands like normal db commands.

If it's not a tpc dll then you do
load dll "my.dll",1
call dll 1,"Function",arguments
`if it returns a value do
a = call dll(1,"Function",arguments)
delete dll 1
homie g dawg
20
Years of Service
User Offline
Joined: 21st Jan 2004
Location: sitting right here infront of the comput
Posted: 25th Jan 2004 04:17
you can also go to help commands in DBp and tehn go to technaical documents and then third party controls where it tells you how to use dlls

Im not dumb
i prefer the term mentaly challangend

Login to post a reply

Server time is: 2024-09-21 18:19:16
Your offset time is: 2024-09-21 18:19:16