Condividi tramite


Accessing the Visual FoxPro API

If Visual FoxPro does not include the features you require for your application, you can extend the capabilities of Visual FoxPro by creating external libraries, for example, a Microsoft ActiveX control (.ocx) file or Visual FoxPro dynamic-link library (FLL) file.

Visual FoxPro includes the Library Construction Kit, which contains the files Pro_Ext.h, WinAPIMS.lib, and OcxAPI.lib so you can create ActiveX controls and FLLs.

Note

The Library Construction Kit has a limit of 65,000 elements for arrays.

In This Section

  • Accessing APIs
    Discusses how you can extend an application by taking advantage of external libraries such as Microsoft ActiveX controls or Visual FoxPro dynamic-link libraries (FLLs).

  • Extending Visual FoxPro with External Libraries
    Explains that you can add Microsoft ActiveX controls (.ocx files) to your application, which provides you with new objects to use in forms, to subclass, and to manage the way you work with native Visual FoxPro controls. In addition, you can link to an external library, such as a Visual FoxPro dynamic-link library (FLL) and call the library's functions to use in your own programs.

  • API Library Construction
    Provides reference material about API Library routines, system events, and key codes.