Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AndrewAMD, SBGuy, TipmyPip, ozgur), 923 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
get address of overloaded function #409690
10/20/12 21:39
10/20/12 21:39
Joined: Jul 2008
Posts: 894
T
TechMuc Offline OP
User
TechMuc  Offline OP
User
T

Joined: Jul 2008
Posts: 894
hi,

is there any possiblity to get the address of an overloaded function (by name, line in script or whatever). Probably there is an internal way, as the debugger is able to determine the local function from a line of code.

If there is an internal way - could you please at least export the symbols for this function in the acknex.dll?

Thanks a lot,
regards,
Timo

Re: get address of overloaded function [Re: TechMuc] #409750
10/22/12 06:45
10/22/12 06:45
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
There is no function at the moment to determine the separate addresses of overlaoded functions.

Re: get address of overloaded function [Re: jcl] #409755
10/22/12 07:04
10/22/12 07:04
Joined: Jul 2008
Posts: 894
T
TechMuc Offline OP
User
TechMuc  Offline OP
User
T

Joined: Jul 2008
Posts: 894
Hmm are there any future plans? I mean it would be sufficient to let the engine_getscript function return all different overloaded function in subsequent calls. E.g.

Code:
std::vector<void*> p_overloaded;
void* p_single = 0;
while((p_single = (void*)engine_getscript("overloaded_function")) != 0) {
   p_overloaded.push_back(p_single);
}



Thanks a lot,
Timo

Last edited by TechMuc; 10/22/12 07:04.
Re: get address of overloaded function [Re: TechMuc] #409763
10/22/12 07:39
10/22/12 07:39
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
It would be better to add a new engine_getscript function that gets the number of the function as argument. I've put that on my list.


Moderated by  old_bill, Tobias 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1