Just completely switch to C++ then, this porting is stupid and opens big doors for hackers because of the DLL imports/exports.
Also, you can easily translate wait(1) calls.
All you need to do is hooking into the main thread which is kinda easy.
Then you can just call GetModuleHandle/GetProcAddress on "acknex.dll" and "wait" to get the function address and call it.

Last edited by Ch40zzC0d3r; 09/02/15 20:32.