Home > Back-end >  Unresolved external function problems, the first big! Please guidance!
Unresolved external function problems, the first big! Please guidance!

Time:10-13

The younger brother is using the sea kang SDK call video server data, the sea, gave the development kit, including:
Four DLL and corresponding lib file,
In the program,
# pragma comment (lib, "HCNetSDK. Lib")
# pragma comment (lib, "PlayCtrl. Lib")
# pragma comment (lib, "ws2_32. Lib")
# pragma comment (lib, "DsSdk. Lib")

Prompt BCB contains invalid OMF record, type 0 x21 (possibly COFF) error
Find the BCL is could not be compatible with the BC non-standard DLL, use the
Implib - af DsSdk. Lib DsSdk. DLL
Implib - af HCNetSDK. Lib HCNetSDK. DLL
Implib - af gdipluslib gdiplus. DLL
Implib - af PlayCtrl. Lib PlayCtrl. DLL
Convert BCB available.lib file

Then the above four.lib file and DLL file into my program directory, complie no problem, but the use of the builder tip
[would Error] Unresolved external 'NET_DVR_GetDVRConfig referenced the from E: \ 2013 develop ZYUAN \ \ WXLSJ \ TESTCOMM \ UNIT1 OBJ

Function is not found, I open one of the lib file with notepad HCNetSDK. Lib, contains the functions of information,
Why would appear this error? I also added the lib, DLL also into the catalog, what should I do?

CodePudding user response:

The lib is add to the project?

CodePudding user response:

Compile process is not need.lib file, link when need,

Maybe.lib file storage directory is not in the engineering properties of the library in the path, or have more than one directory exists the.lib file with the same name, is included in the
You add four.lib file directly to the engineering of a try,
  • Related