Environment: Windows 95 and MS VC++ 1.52
I am trying to make a call to a function in a DLL (16-bit) and I keep getting the following Prog Error:
" Your program is making an invalid dynamic link call to a .DLL file"
I do have the .lib in the import libraries of the Linker Options, in the imports section of my .def file, and in the Directories Libraries path.
Following is my program:
#define ELOG_MODULENAME "TEST"
#include <stdio.h> /* needed for ELOGPUB.h */
int main ( int argc, char * argv )
long lCoreSession = 0;
long lCoreConectRec = 0;
int iRV = 0;
/* RctXInitializeCORESession is the function that I have been trying to call, which is in a third-party DLL*/
iRV = RctXInitializeCORESession( &lCoreSession,
I would really appreciate any help in this matter. Thanks a million!!!