The following development environments may be used to write your own applications which use the MicroGate API:
All of the samples included were built and tested using MS Visual C/C++ 6, Visual Studio 2005, and Borland C/C++ 5.5.
Required for Windows application development. The Microsoft Visual C/C++ installation may include a platform SDK.
Only if developing device drivers, which will be used in conjunction with the serial API driver's inter-driver interface (See Driver Interface).
You may also use Borland's C/C++ product(s) to build 32-bit applications:
The Serial API SDK includes makefiles that can be used to build the sample source applications. Using those as starting points, you can build your own custom Serial API applications.
It is assumed that your Borland development enviroment provides the necessary Platform SDK (for Windows development).
It may be possible to use other development tools for developing applications for Windows (though not necessarily supported by Microgate). Please note the following issues:
Building 64-bit Windows applications requires Microsoft Visual Studio 2005 or the Microsoft Server 2003/Vista DDK.
The header file (MGHDLC.H) is distributed in C/C++ format and would have to be converted/ported to the language's include file format (if not C/C++). A basic understanding of the C language is required in order to understand and port the struction declarations and function call prototypes.
The import library is linked with an application at build time to resolve references to HDLCAPI calls and automatically load the MGHDLC.DLL when the application is launched.
The provided import library, MGHDLC.LIB uses the standard Windows COFF library format and can be linked with MS C/C++ applications. The same should also be true for most current MS languages (but not tested at this time).
The current distribution also includes an import library, MGHDLCBC.LIB in the OMF library format for use in linking Borland C/C++ 5.5 applications.
If your development environment does not allow either library to be linked at build time, you can use the Native Win32 system calls LoadLibrary to load the MGHDLC.DLL and GetProcAddress to get the address of the required HDLCAPI function calls. Refer to your development package's documentation for information on making Win32 system calls.
| Previous | Contents | Next |