I have a project in Visual Studio 2008. When I compile the project I
get the linker errors below. Does anyone know what is triggering this
linker error and how to solve it? Please reply to this thread soon
because I am working on a time critical project.
-- snip --
1>Linking...
1>libcpmtd.lib(string.obj) : error LNK2001: unresolved external symbol
__CxxFrameHandler3
1>uafxcwd.lib(oletyplb.obj) : error LNK2001: unresolved external
symbol __CxxFrameHandler3
1>uafxcwd.lib(occlock.obj) : error LNK2001: unresolved external symbol
__CxxFrameHandler3
1>uafxcwd.lib(dlgfr.obj) : error LNK2001: unresolved external symbol
__CxxFrameHandler3
1>uafxcwd.lib(docsingl.obj) : error LNK2001: unresolved external
symbol __CxxFrameHandler3
1>uafxcwd.lib(arcstrm.obj) : error LNK2001: unresolved external symbol
__CxxFrameHandler3
1>uafxcwd.lib(olereg.obj) : error LNK2019: unresolved external symbol
__CxxFrameHandler3 referenced in function "int __cdecl
AfxOleInprocRegisterHelper(struct HKEY__ *,struct HKEY__ *,int)" (?
AfxOleInprocRegisterHelper@@YAHPAUHKEY__@@0H@Z)
1>uafxcwd.lib(viewedit.obj) : error LNK2001: unresolved external
symbol __CxxFrameHandler3
1>uafxcwd.lib(docdl.obj) : error LNK2001: unresolved external symbol
__CxxFrameHandler3
1>uafxcwd.lib(oledisp1.obj) : error LNK2001: unresolved external
symbol __CxxFrameHandler3
1>uafxcwd.lib(wcefont.obj) : error LNK2001: unresolved external symbol
__CxxFrameHandler3
1>uafxcwd.lib(oleenum.obj) : error LNK2001: unresolved external symbol
__CxxFrameHandler3
1>uafxcwd.lib(filest.obj) : error LNK2001: unresolved external symbol
__CxxFrameHandler3
1>uafxcwd.lib(oledisp2.obj) : error LNK2001: unresolved external
symbol __CxxFrameHandler3
1>uafxcwd.lib(filecore.obj) : error LNK2001: unresolved external
symbol __CxxFrameHandler3
-- snip --
The linker options given within the IDE environment is outlined below.
-- snip --
/OUT:"Windows Mobile 6 Professional SDK (ARMV4I)\Debug
\UPnPFindMFC.exe" /INCREMENTAL /NOLOGO /LIBPATH:"..\Server\av_upnp_ctrl
\Lib" /MANIFEST:NO /NODEFAULTLIB:"oldnames.lib" /DEBUG /PDB:"c:\Mobile
\Pervasive2008\UPnPFindMFC\Windows Mobile 6 Professional SDK (ARMV4I)
\Debug\UPnPFindMFC.pdb" /STACK:65536,4096 /ENTRY:"WinMainCRTStartup" /
DYNAMICBASE:NO /ERRORREPORT:PROMPT Uuid.lib av_upnp.lib ole32.lib
oleaut32.lib uuid.lib
-- snip --
I hope for a very soon reply on this.
Thanks in advance,
Jess
ATL is used within the project, whatsoever I just solved the problem
myself.
It seems to be the version of av_upnp.lib that is build with another
version
of the std. libraries.
Removing the functionality that uses av_upnp.lib solves the problem.
Anyhow I have not been able to find a version compatible with Visual
Studio 2008.
The problem is related to C++ exception handling, /EH*** compiler
options. Perhaps you need to rebuild relatd .LIBs using Visual Studio
2008 too.
Roman
The problem is that I do not have the source for the av_upnp
libraries.
These belong to Microsoft and are not released.