To demonstrate the power of the Pro/DESKTOP Application Programmable Interface (API), and the use of the convenience functions, two full scale applications which mimic parts of Pro/DESKTOP are presented. These can be used as a reference for using the Pro/DESKTOP API.
The complete source set and necessary project files are available for both VB and C based applications.
What are these Demo Applications?
Miscellaneous\API\VBClient\ | VBClient Project Directory.Creates the VBConvenience dll and the VBClient executables |
Miscellaneous\API\VB\ | VBConvenience Project Directory. |
Miscellaneous\API\VBClient\vbclient.vbg | VBClient project group. |
Miscellaneous\API\VBClient\vbclient.vbp | Project file for VBConvenience dll. |
Miscellaneous\API\VBClient\vbclient.dll | VB Convenience functions dll |
You can open the Project group file, and create the VB Client executable. You will be required to reference the VBConvenience.dll (you can also build this) and the ProD.tlb file available in the program directory of Pro/DESKTOP application.
You will require Visual Basic 5.0 for creating the executables. Alternatively, you can reference the VBConvenience.dll in the embedded Visual Basic editor in ProDESKTOP and use it in your applications.
Miscellaneous\API\CClient\ | CClient Project Directory. Creates the CConvenience dll and the CClient executables. |
Miscellaneous\API\VBClient\C | CConvenience Project Directory. |
Miscellaneous\API\VBClient\CClient.dsw | Project Workspace which contains both Client and dll projects. |
(Note: The project uses the type library ProD.tlb from the Program folder of Pro/DESKTOP.)
Pro/DESKTOP functionality is simulated in both VB as well in C Clients.
Some of the interesting demos available in these applications are: