Skip to main content

Problem:

Release: 3.0   The .RSP files are no longer used.

These were the link response files used in an earlier release of this project.  The .DLLs are now compiled and linked by simply rebuilding the project.

Resolution:

The call-conventions depend on the way a program is linked.  dynamicWINAPI is used to call functions in a .DLL that are dynamically loaded at run-time i.e. no import library is used during the link.  staticWINAPI is used to call functions in a .DLL that are referenced in an import library at link time. If the .LIB is not linked in then you will get a link error for unresolved external.  

dynamicPascal is from an earlier release.  It tells the compiler and run-time system the order in which the parameters are passed. Any can be used as long as they match up between the calling and called programs.

COBOL can only call a VB program if it is linked as a .DLL.  It can then be loaded using:

01  dll-point     procedure-pointer.

      set dll-point to entry "vbprog.dll".

You can then call the entry point names using the dynamicWINAPI convention.

Old KB# 6789