I am trying to run a VC++ dll in a VB application.
When I declare the C++ dll and link it to the VB module as follows :
In the C++ dll
__declspec(dllexport) void StartHTML();
In the VB module
Private Declare Function StartHTML Lib "CGI" ()
The function is accessed as
Is this correct ?
I get a "file not found CGI" message from the VB compiler.
The file is in the project directory.
Are there any include statements, compiler options etc to include ?