
The GGRAPH.APP application encapsulates the programmatic functionality provided in Microsoft's GENGRAPH.APP to provide a simple interface for graph creation. The process is reduced to creating your graph data in the proper format for GENGRAPH and then making a single function call to create the actual graph:
DO GGRAPH.APP WITH [cGraphType],;
[cGraphTitle],;
[cOutputMethod],;
[cCursorName],;
[cWindowTitle]
Graph types available match most of those those supported by the graph Wizard, but you can add your own templates as necessary:
HBAR HBAR3D VBAR VBAR3D * PIE PIE3D LINE LINE3D AREA AREA3DGraphs can be created using several output methods:
This library uses an intermediary DLL (based on another Public Domain Visual Basic utility) to allow you to call 32 bit DLL functions. Using a special DLL function 32 bit DLL functions are registered in a similiar fashion as DLL functions are registered with FoxTools to provide information about the function parameters and return values. The result is a double layer of declarations which make it possible to call the Win32 functions indirectly. A pair of FoxPro wrapper functions simplifiy the process to reduce the FoxPro code to 3 lines of code.
This library also provides several specific DLL functions for reading from the system registry in Windows 95 and NT, access to bit-shifting functions and retrieving the Windows version number (which is not adequately supported for Win95 and NT using 16 bit DLL calls).
Download Call32.zip (13k - 01/07/96)
Download AppCtl.zip (7k - 03/06/96)
More to come soon...