Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extend the VFP API?
Message
From
25/05/2016 00:43:47
 
 
To
24/05/2016 13:02:30
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01636743
Message ID:
01636759
Views:
81
>Does anyone know how one might extend the VFP APIs? For example, the function _DBSEEK exists in the API, but OPEN DATABASE, SET DATABASE and DBUSED() and others are not in the API. I'd like to add them.

For me dropping down to C(++) makes only sense for performance bottlenecks, esp. tight loops and variable access, perhaps most strikingly in long arrays.
For all other stuff calling up into the vfp runtime should be sufficiently fast - creating tiny C(++) flls for each such case feels like make-do work.
White rooming such functionality would feel like taking advantage of the customer, unless he is warned repeatedly, including Dilbert-like formats...
Previous
Reply
Map
View

Click here to load this message in the networking platform