Calling convention in C/C++ DLL
Posted: 28 May 2021 9:17
Hi,
I have upgraded to VIP 10 recently. When I create a default DLL project and Build it, it generates a DLL as expected. How do I configure the project to generate the corresponding LIB file? I noticed that in the distributed example "..\dll\myDll", the LIB and DLL files are both generated.
Another question: If I am consuming the DLL from C code, which is the correct predicate decorator to use: "language prolog", "language c" or "language stdcall"
Thanks,
Rangarajan
I have upgraded to VIP 10 recently. When I create a default DLL project and Build it, it generates a DLL as expected. How do I configure the project to generate the corresponding LIB file? I noticed that in the distributed example "..\dll\myDll", the LIB and DLL files are both generated.
Another question: If I am consuming the DLL from C code, which is the correct predicate decorator to use: "language prolog", "language c" or "language stdcall"
Thanks,
Rangarajan