Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

error LNK2001: unresolved external symbol __CxxFrameHandler3

1,096 views
Skip to first unread message

dk.j...@gmail.com

unread,
Mar 8, 2009, 1:18:52 PM3/8/09
to
Hi

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

Brian Muth

unread,
Mar 8, 2009, 1:47:01 PM3/8/09
to
This doesn't look like an ATL project at all. Am I correct?


dk.j...@gmail.com

unread,
Mar 8, 2009, 2:08:23 PM3/8/09
to
On 8 Mar., 18:47, "Brian Muth" <bm...@mvps.org> wrote:
> This doesn't look like an ATL project at all. Am I correct?

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.

Roman Ryl...

unread,
Mar 9, 2009, 4:39:01 AM3/9/09
to
Hi,

The problem is related to C++ exception handling, /EH*** compiler
options. Perhaps you need to rebuild relatd .LIBs using Visual Studio
2008 too.

Roman

dk.j...@gmail.com

unread,
Mar 10, 2009, 3:30:22 PM3/10/09
to


The problem is that I do not have the source for the av_upnp
libraries.
These belong to Microsoft and are not released.

0 new messages