Programming Guide : Using 3GL in Your Application : How You Can Link 3GL Procedures
 
Share this page          
How You Can Link 3GL Procedures
After coding your 3GL procedures, you must compile and link them into an execution module appropriate for your platform. On Windows platforms, the execution module takes the form of dynamic link libraries (DLL). On UNIX platforms, it takes the form of shared libraries. OpenROAD makes a call into the execution module when a 3GL procedure is called in 4GL code.
Windows only: Use esqlc.lib instead of ingres.lib when linking.
For instructions about how to build these libraries, consult the documentation supplied for your compiler and linker for the specific operating system. Also consult the readme_OR_3GLsample.txt file in the supplied 3GL example for detailed information:
The readme file is located in the %II_SYSTEM%\ingres\w4glsamp\3gl directory.