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 / Executing functions in a program from a dll

Author
Message
John Y
Synergy Editor Developer
21
Years of Service
User Offline
Joined: 4th Sep 2002
Location: UK
Posted: 28th May 2005 03:33
Hi,

Is it possible to call functions that a person wrote in their darkbasic professional game from a dll (possible via the globStruct.h)?

Thanks!

IanG
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 28th May 2005 04:57
functions as in function and endfunction?

if so it is very unlikely

Used to be Phoenix_insane registered in september 2003 despite what the date says to the left <--
PC - amd athlon 2.0ghz, 512mb, GeForce FX 5200 128mb, 200gb, xp pro sp2
TKF15H
20
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 29th May 2005 00:27
Yes, it is possible. You need to get the pointer to that function using Empty's plugin. I don't know if he's been updating it to work with U5.8 though. Will have to wait till he shows up...

empty
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 30th May 2005 20:22
Haven't tested it but it should work with 5.8 as well.
However, soon (probably, hopefully) another forum member will release something that allows you to obtain the addresses of functions (and variables plus lots of other stuff!) more elegant than my method.


Play Nice! Play Basic! Version 1.073
John Y
Synergy Editor Developer
21
Years of Service
User Offline
Joined: 4th Sep 2002
Location: UK
Posted: 31st May 2005 01:22
I have searched the forum for your method, but can't find it, can you give me a link so I can have a look while I wait for a (probably, hopefully) better method.

empty
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 31st May 2005 03:52
Quote: "I have searched the forum for your method, but can't find it, can you give me a link"

Yup. http://forum.thegamecreators.com/?m=forum_view&t=38083&b=8


Quote: "while I wait for a (probably, hopefully) better method."

The method is much better, but I have no clue when it will be released.


Play Nice! Play Basic! Version 1.073
TKF15H
20
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 31st May 2005 06:19
Well, can you at least tell us who's doing it so we can whine to him about it?

empty
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 31st May 2005 06:24
I guess, I'll have to ask him first.


Play Nice! Play Basic! Version 1.073

Login to post a reply

Server time is: 2024-04-26 06:39:48
Your offset time is: 2024-04-26 06:39:48