Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Design time event handler
Message
 
À
14/05/2007 02:33:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01221889
Message ID:
01225134
Vues:
32
Hi Olaf,

> Is it possible to DECLARE functions of the VFP runtime, like you can DECLARE Win API calls?

No. You can only declare exported functions. VFP only exports 9 functions, all of which deal with COM.

> Then their technique should work in DOS too, shouldn't it?

Nope, because in DOS the API interface is completely different. DOS calls base on raising an interrupt with a register having the function code. Also, API calls are only relevant when you make calls across a module. Intra-module calls are resolved by the linker and therefore hard coded. There's no generic technology that lets you hook into a procedure in a DLL unless you have the compiled object code and are able to re-link a product.
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform