


5.4.3 Linking C Routines Into the Plug-in Runtime
If your application interfaces with external C routines, you can relink the
plug-in runtime with these routines. To execute the link, you must have the
Microsoft Visual C++ compiler, version 6.0. You must also have "wsock32.lib"
available on your system. This library should come with your C compiler.
Note: Before relinking, modify "direct.c" (direct method) or "sub.c" and "sub85.c"
(interface method) to include your C routines. Refer to Appendix C in the
documentation for the ACUCOBOL-GT compiler for more information.
To create a new plug-in runtime with your C routines included, change your
working directory to the AcuGT\lib directory and enter the following at the prompt:
nmake -f wrun32.mak NPacu32.dll