PDA

View Full Version : Dll and Exe projects - Unresolved External - Linker Error


bbrandt
02-Jul-2007, 03:38 PM
I'm trying to evaluate EurekaLog to determine if our company should make a purchase, but I can't get the Trial Version to work.

I have and exe project that loads a dll via an import library. I enabled Eureka log both projects (and some other dlls that the first dll loads). All the dlls compile fine, but I get the following linker errors when it gets to the executable:

[Linker Error] Error: Unresolved external 'Ecore::CriticalError' referenced from C:\PROGRAM FILES\EUREKALOG 6\CBUILDER10\EXCEPTIONLOG.OBJ
[Linker Error] Error: Unresolved external 'Esockets::EEurekaSocketError::' referenced from C:\PROGRAM FILES\EUREKALOG 6\CBUILDER10\EXCEPTIONLOG.OBJ
... see UnresolvedExternals.txt for the rest.


I tried creating a new project and step by step converted it into the desired exe project. The point at which it stopped compiling was when I added the import library.

I created a demo project group that reproduces the problem and attached it to this message. The workaround seems to be to add Project3.lib to Project1, but this was not a requirement before I used EurekaLog.


Also, if I try to enable delay-loading of a dll (as I sometimes need to do), I get the error messages:

[Linker Error] Error: Symbol @$xp$22Edebug@TELLocationInfo from delayed load module PROJECT3.DLL is a data reference
[Linker Error] Error: Symbol @Econsts@EurekaLogCurrentVersion from delayed load module PROJECT3.DLL is a data reference
[Linker Error] Error: Symbol @Ecore@CriticalError from delayed load module PROJECT3.DLL is a data reference
[Linker Error] Error: Symbol @Ecore@LastEurekaVersion from delayed load module PROJECT3.DLL is a data reference
[Linker Error] Error: Symbol @Ecore@TEurekaModuleOptions@ from delayed load module PROJECT3.DLL is a data reference
[Linker Error] Error: Symbol @Edisasm@TDisAsm@ from delayed load module PROJECT3.DLL is a data reference
[Linker Error] Error: Symbol @Elistview@TListViewItems@ from delayed load module PROJECT3.DLL is a data reference
[Linker Error] Error: Symbol @Elogmanager@TLogFile@ from delayed load module PROJECT3.DLL is a data reference
[Linker Error] Error: Symbol @Elogmanager@TLogItem@ from delayed load module PROJECT3.DLL is a data reference
[Linker Error] Error: Symbol @Esockets@EEurekaSocketError@ from delayed load module PROJECT3.DLL is a data reference
[Linker Error] Error: Symbol @Esockets@TEurekaClientSMTP@ from delayed load module PROJECT3.DLL is a data reference
[Linker Error] Error: Symbol @Ewebtools@THTTPBugzillaSendReport@ from delayed load module PROJECT3.DLL is a data reference
[Linker Error] Error: Symbol @Ewebtools@THTTPConnectionBase@ from delayed load module PROJECT3.DLL is a data reference
[Linker Error] Error: Symbol @Ewebtools@THTTPFogBugzSendReport@ from delayed load module PROJECT3.DLL is a data reference
[Linker Error] Error: Symbol @Ewebtools@THTTPMantisSendReport@ from delayed load module PROJECT3.DLL is a data reference
[Linker Error] Error: Symbol @Ezip@TZipWriter@ from delayed load module PROJECT3.DLL is a data reference

Thanks,
Ben

admin
06-Jul-2007, 10:58 AM
I'm working on, please to be patient...