View Single Post
Old 17.06.2006, 01:53   #12
Alien003
Архивный участник
 
Join Date: Jun 2005
Posts: 143
Default

Since the dll's addresses are dinamic we cant set the addresses of new functions in the txt file, well not directly

you could create a map like this

map<string, void (__cdecl *)(...)> mapName;

and a new function

void newfunction(...something);

then in runtime set the map values

mapName["newfunction"] = newfunction;

so when reading the "newfunction" string from the txt we have a correct address for it


this is just a sugestion ..anyone with a better idea, reply
Alien003 is offline