Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
API _Evaluate is different in run-time exe?
Message
De
30/07/1998 10:16:05
 
 
À
30/07/1998 08:36:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00122641
Message ID:
00122673
Vues:
15
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform