Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Design time event handler
Message
 
To
14/05/2007 02:33:04
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01221889
Message ID:
01225134
Views:
37
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform