This section describes how to link external subroutines to PROIV on the stand-alone PC.  The standard PROIV procedural language interface for calling external subroutines in logic (LINK and LINK-CRT) now makes use of Windows' Dynamic Link Library (DLL) capabilities.  This provides a much easier and more convenient way of interfacing user subroutines, as it does not require the user code to be built with the PROIV Objects as in the standard Unix version. Other aspects of the use of the LINK and LINK-CRT Logic Commands have not changed and for further information see the Logic Commands and the Environment Guide topics.

Note: A prerequisite for using the facilities described here is a proficiency in 'C' programming and, for the more advanced facilities (the options described below), a proficiency in Windows SDK programming.

PROIV provides a default DLL template for calling up to 10 external subroutines per PROIV session. A number of options are also available for increasing the scope of external subroutine usage, and these allow you to:

  • Rename the default DLL.

  • Rename the template DLL subroutine names.

  • Increase the number of subroutines in the default DLL.

  • Increase the number of arguments that can be passed between PROIV and the subroutine.

  • Use another DLL in place of the default.

  • Use Multiple DLLs.

  • Use interface functions between PROIV and the DLL.

Comment on this topic

Topic ID: 750036

 
 
 

Table of Contents

Index

Glossary

-Search-

Back