Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
API _Evaluate is different in run-time exe?
Message
From
30/07/1998 10:16:05
 
 
To
30/07/1998 08:36:33
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00122641
Message ID:
00122673
Views:
16
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
Map
View

Click here to load this message in the networking platform