Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unresolved External

Status
Not open for further replies.

exodus300

Programmer
Mar 22, 2002
262
AU
I am creating a program and a DLL in BCB3. They both build perfectly fine (no errors/warnings), but when I add the DLL's .lib file to the main program and import the functions, I get the following three errors:

Code:
[LinkerError] Unresolved external 'Sysinit::HInstance' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER3\LIB\TB97\SOURCE\TB97CNST.OBJ.

[LinkerError] Unresolved external 'Sysinit::VclInit(bool,bool,int,bool)' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER3\LIB\RELEASE\VCLE35.LIB|vclinit.

[LinkerError] Unresolved external 'Sysinit::VclExit()' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER3\LIB\RELEASE\VCLE35.LIB|vclinit.

I have a 3rd-party component (TToolBar97) in the main app which explains the TB97\SOURCE\TB97CNST.OBJ file, but I don't think this is anything to do with it as it works perfectly fine until I add the DLL.

How can I fix this problem? Please help!
 
try simply deleting the obj file and see if that doesn't work. It's worked for me before... Cyprus
[noevil]
 
I deleted all .obj files in LIB\TB97\Source and my project directory, and rebuilt the DLL, EXE and ToolBar97 projects, but I still get those 3 messages.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top