Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by Grant. 05/23/26 20:53
Issues resuming trades on Demo account
by Martin_HH. 05/22/26 13:31
XTB
by pr0logic. 05/18/26 12:27
Purchase A8 full licence version
by NeoDumont. 05/13/26 20:17
Black Book, 4th edition
by TipmyPip. 05/11/26 08:40
No errors in the command line
by jcl. 05/08/26 10:59
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 4,329 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
jayden, liu, Koti, curry, DeepxKalsi
19220 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: 28,100
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,100
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: 28,100
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,100
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 | 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