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 / Function addresses

Author
Message
klukk
22
Years of Service
User Offline
Joined: 13th Feb 2003
Location: Iceland
Posted: 3rd Mar 2004 17:06
Greetings.

Now, we know that DBPro doesn't support function pointers. So, has anyone taken a crack at how DBPro calls functions internally? (return address on the stack? Parameter passing via stack or registers? does caller or callee clean up the stack?)

This would be useful in order to make a function pointer "hack", so that you could, for example, call functions written in your DBPro code from functions in a DLL (does anyone see where I'm going with this?)

- If nothing sticks to teflon, then how do they make teflon stick to the pan???
klukk
22
Years of Service
User Offline
Joined: 13th Feb 2003
Location: Iceland
Posted: 7th Mar 2004 07:34
No takers? Guess I'll have to do this by myself then

- If nothing sticks to teflon, then how do they make teflon stick to the pan???
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 7th Mar 2004 11:37
Good luck. If you manage to solve it, let us know how.


The place for all great plug-ins.
XP3000+,1Gb RAM,FX5600,1Mb ADSL,Router,.Net 2003 Pro & me

Login to post a reply

Server time is: 2025-06-10 05:58:23
Your offset time is: 2025-06-10 05:58:23