I did some 'research' and looks like in standalone EXEs the function is either not linked into the application, either not available. By tracing the disassembly, I found the code is searching something like a dispatch table in memory. The exact instruction is
mov eax, ptr dword [eax+edx*4+0E10h]
And then is calling the function found at that address with a
call eax
Both in VFX.EXE and in standalone exe the searched address is identical (both eax and edx have same values in both versions). Only that in standalone exe is returning 0! In VFP.EXe is returning a address and the rutine gets called.
I think is a table of available VFP system functions. The _Evaluate function is available in VFP.EXE, but not in my standalone EXE.
Has anyone tried this before? Could by a linkage optimization?
Feel free to throw any hints...
Best regards,
Remus
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only