Home > Back-end >  In C BUILDER development MIDAS application without the need for a release of MIDAS. DLL
In C BUILDER development MIDAS application without the need for a release of MIDAS. DLL

Time:09-17

I static load in the XE7 MIDAS. DLL, appear problem, seeking help warrior!
1, the header file. The Main h
#include

2, the Main CPP in
# pragma package (smart_init)
# pragma resource "*. DFM
"# pragma link "Midas. Lib"
# pragma link "dsnap lib"

Extern "C" __stdcall DllGetDataSnapClassObject (REFCLSID rclsid, REFIID riid, void * * PPV);
Void __fastcall TMainFrm: : FormCreate (TObject * Sender)
{
RegisterMidasLib (DllGetDataSnapClassObject);
}
3, the compilation problems:
[ilink32 Error] Error: Unresolved external 'DllGetDataSnapClassObject referenced the from E: \ SOFTWORK \ ERP \ WIN32 \ DEBUG \ MAIN OBJ
[ilink32 Error] Error: Unable to perform the link

In question please help guide, thank you!

CodePudding user response:

Static load MIDAS. DLL
Need to add.lib file to the project

CodePudding user response:

The Midas static lib with engineering manager added into engineering
The problem is post ah this is a year ago,
  • Related