Hello Guys,
I have a DLL created using Borland C++ 6, I need to use the same DLL with VC++ 2008, I have the .DLL and .LIB files created by Borland and the header file exporting 2 functions that I need to use in my program (Header file looks like this):
#ifndef ChaidInterfaceH
#define ChaidInterfaceH
//--------------------------------------------------------------------------
#ifdef __cplusplus /* if in a C++ program */
extern "C"
#endif
void __declspec(dllimport) WINAPI chiprobLib(double, int, double &);
float __declspec(dllimport) WINAPI fisprobLib(float, int, int);
#endif
Can any body tell how to use this DLL in my VC++ program and how to modify my Header file?