I encountered the following problem:
I created a "class library (.NET)" project and made a first build,
which produced a warning:
nochkclr.obj : warning LNK4099: PDB 'libc.pdb' was not found with 'C:\Programme\Microsoft Visual Studio .NET 2003\Vc7\lib\nochkclr.obj'
or ...
Ok, I ignored this warning and used the Wizard to generate a "Generic
C++ class" with a virtual destructor. When I now try to rebuild my
project I get two linker errors: wiz.obj : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *)" (??3@$$FYAXPAX@Z)
and wiz.obj : error LNK2001: unresolved external symbol "void __stdcall
`eh vector destructor iterator'(void *,unsigned int,int,void
(__thiscall*)(void *))" (??_M@$$FYGXPAXIHP6EX0@Z@Z)
When I remove the "virtual" keyword in front of the destructor
declaration both linker errors disappear!!! What the @&%$ is
going on here?!?!
Thank you for your help,
Matej
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---