Hello all,
Here is the situation. I am migrating an existing solution from Visual C++ 2003 to Visual C++ 2005 Express. I have the Platform SDK installed as well. The solution contains two mixed mode projects. One is essentially a managed wrapper dll for a 3rd party static win32 library. I do not have access to the source for the 3rd party library. The other project is a managed executable that utilizes the wrapper dll.
These projects worked fine under 2003 but now when I build the DLL project I get the following errors and I am trying to find out why.
I have gone through and removed the dependency on _vcclrit.h via the instructions in http://msdn2.microsoft.com/en-us/library/ms173267.aspx
If anyone has any ideas please let me know.
Errors:
(NOTE: Some obj and lib file names have been altered/hidden as well as some class names)
AAAAAAAAAAAA.obj : error LNK2028: unresolved token (0A000006) "extern "C" void __clrcall ___CxxCallUnwindDtor(void (__clrcall*)(void *),void *)" ( ___CxxCallUnwindDtor@@$$J0YMXP6MXPAX@Z0@Z) referenced in function "public: __thiscall std::bad_alloc::bad_alloc(char const *)" ( 0bad_alloc@std@@$$FQAE@PBD@Z)
BBBBBBBBBBBB.obj : error LNK2028: unresolved token (0A000008) "extern "C" void __clrcall ___CxxCallUnwindDtor(void (__clrcall*)(void *),void *)" ( ___CxxCallUnwindDtor@@$$J0YMXP6MXPAX@Z0@Z) referenced in function "public: __thiscall std::bad_alloc::bad_alloc(char const *)" ( 0bad_alloc@std@@$$FQAE@PBD@Z)
CCCCCCCCCCCC.obj : error LNK2028: unresolved token (0A000007) "extern "C" void __clrcall ___CxxCallUnwindDtor(void (__clrcall*)(void *),void *)" ( ___CxxCallUnwindDtor@@$$J0YMXP6MXPAX@Z0@Z) referenced in function "public: __thiscall std::bad_alloc::bad_alloc(char const *)" ( 0bad_alloc@std@@$$FQAE@PBD@Z)
DDDDDDDDDDDD.obj : error LNK2028: unresolved token (0A000006) "extern "C" void __clrcall ___CxxCallUnwindDtor(void (__clrcall*)(void *),void *)" ( ___CxxCallUnwindDtor@@$$J0YMXP6MXPAX@Z0@Z) referenced in function "public: void __thiscall std::_Iterator_base::_Orphan_me(void)" ( _Orphan_me@_Iterator_base@std@@$$FQAEXXZ)
EEEEEEEEEEEE.obj : error LNK2028: unresolved token (0A000008) "extern "C" void __clrcall ___CxxCallUnwindDtor(void (__clrcall*)(void *),void *)" ( ___CxxCallUnwindDtor@@$$J0YMXP6MXPAX@Z0@Z) referenced in function "public: __thiscall std::bad_alloc::bad_alloc(char const *)" ( 0bad_alloc@std@@$$FQAE@PBD@Z)
BBBBBBBBBBBB.obj : error LNK2028: unresolved token (0A003ED1) "extern "C" int __clrcall _atexit_m(void (__clrcall*)(void))" ( _atexit_m@@$$J0YMHP6MXXZ@Z) referenced in function "void __clrcall `anonymous namespace'::`dynamic initializer for 'void __clrcall ATO::WILDCARD::A0x6da89a6e(void)''(void)" ( __E A0x6da89a6e@WILDCARD@ATO@@YMXXZ@ A0x6da89a6e@@$$FYMXXZ)
CCCCCCCCCCCC.obj : error LNK2028: unresolved token (0A003CE3) "extern "C" int __clrcall _atexit_m(void (__clrcall*)(void))" ( _atexit_m@@$$J0YMHP6MXXZ@Z) referenced in function "void __clrcall `anonymous namespace'::`dynamic initializer for 'void __clrcall ATO::WILDCARD::A0x09c1d18a(void)''(void)" ( __E A0x09c1d18a@WILDCARD@ATO@@YMXXZ@ A0x09c1d18a@@$$FYMXXZ)
EEEEEEEEEEEE.obj : error LNK2028: unresolved token (0A003CF2) "extern "C" int __clrcall _atexit_m(void (__clrcall*)(void))" ( _atexit_m@@$$J0YMHP6MXXZ@Z) referenced in function "void __clrcall `anonymous namespace'::`dynamic initializer for 'void __clrcall ATO::WILDCARD::A0xc1ffe20f(void)''(void)" ( __E A0xc1ffe20f@WILDCARD@ATO@@YMXXZ@ A0xc1ffe20f@@$$FYMXXZ)
AAAAAAAAAAAA.obj : error LNK2028: unresolved token (0A000355) "void __clrcall `eh vector destructor iterator'(void *,unsigned int,int,void (__clrcall*)(void *))" ( _M@$$FYMXPAXIHP6MX0@Z@Z) referenced in function "public: virtual void * __thiscall std::bad_alloc::`vector deleting destructor'(unsigned int)" ( _Ebad_alloc@std@@$$FUAEPAXI@Z)
BBBBBBBBBBBB.obj : error LNK2028: unresolved token (0A00402B) "void __clrcall `eh vector destructor iterator'(void *,unsigned int,int,void (__clrcall*)(void *))" ( _M@$$FYMXPAXIHP6MX0@Z@Z) referenced in function "public: virtual void * __thiscall std::bad_alloc::`vector deleting destructor'(unsigned int)" ( _Ebad_alloc@std@@$$FUAEPAXI@Z)
CCCCCCCCCCCC.obj : error LNK2028: unresolved token (0A003E3D) "void __clrcall `eh vector destructor iterator'(void *,unsigned int,int,void (__clrcall*)(void *))" ( _M@$$FYMXPAXIHP6MX0@Z@Z) referenced in function "public: virtual void * __thiscall std::bad_alloc::`vector deleting destructor'(unsigned int)" ( _Ebad_alloc@std@@$$FUAEPAXI@Z)
DDDDDDDDDDDD.obj : error LNK2028: unresolved token (0A0002E9) "void __clrcall `eh vector destructor iterator'(void *,unsigned int,int,void (__clrcall*)(void *))" ( _M@$$FYMXPAXIHP6MX0@Z@Z) referenced in function "public: virtual void * __thiscall std::logic_error::`vector deleting destructor'(unsigned int)" ( _Elogic_error@std@@$$FUAEPAXI@Z)
EEEEEEEEEEEE.obj : error LNK2028: unresolved token (0A003E4C) "void __clrcall `eh vector destructor iterator'(void *,unsigned int,int,void (__clrcall*)(void *))" ( _M@$$FYMXPAXIHP6MX0@Z@Z) referenced in function "public: virtual void * __thiscall std::bad_alloc::`vector deleting destructor'(unsigned int)" ( _Ebad_alloc@std@@$$FUAEPAXI@Z)
BBBBBBBBBBBB.obj : error LNK2001: unresolved external symbol " .cctor@@$$FYMXXZ" ( .cctor@@$$FYMXXZ)
BBBBBBBBBBBB.obj : error LNK2001: unresolved external symbol " .cctor@@$$FYMXXZ" ( .cctor@@$$FYMXXZ)
AAAAAAAAAAAA.obj : error LNK2001: unresolved external symbol " .cctor@@$$FYMXXZ" ( .cctor@@$$FYMXXZ)
Stdafx.obj : error LNK2001: unresolved external symbol " .cctor@@$$FYMXXZ" ( .cctor@@$$FYMXXZ)
DDDDDDDDDDDD.obj : error LNK2001: unresolved external symbol " .cctor@@$$FYMXXZ" ( .cctor@@$$FYMXXZ)
DDDDDDDDDDDD.obj : error LNK2001: unresolved external symbol " .cctor@@$$FYMXXZ" ( .cctor@@$$FYMXXZ)
CCCCCCCCCCCC.obj : error LNK2001: unresolved external symbol " .cctor@@$$FYMXXZ" ( .cctor@@$$FYMXXZ)
CCCCCCCCCCCC.obj : error LNK2001: unresolved external symbol " .cctor@@$$FYMXXZ" ( .cctor@@$$FYMXXZ)
AssemblyInfo.obj : error LNK2001: unresolved external symbol " .cctor@@$$FYMXXZ" ( .cctor@@$$FYMXXZ)
AssemblyInfo.obj : error LNK2001: unresolved external symbol " .cctor@@$$FYMXXZ" ( .cctor@@$$FYMXXZ)
EEEEEEEEEEEE.obj : error LNK2001: unresolved external symbol " .cctor@@$$FYMXXZ" ( .cctor@@$$FYMXXZ)
EEEEEEEEEEEE.obj : error LNK2001: unresolved external symbol " .cctor@@$$FYMXXZ" ( .cctor@@$$FYMXXZ)
AAAAAAAAAAAA.obj : error LNK2019: unresolved external symbol "extern "C" void __clrcall ___CxxCallUnwindDtor(void (__clrcall*)(void *),void *)" ( ___CxxCallUnwindDtor@@$$J0YMXP6MXPAX@Z0@Z) referenced in function "public: __thiscall std::bad_alloc::bad_alloc(char const *)" ( 0bad_alloc@std@@$$FQAE@PBD@Z)
EEEEEEEEEEEE.obj : error LNK2001: unresolved external symbol "extern "C" void __clrcall ___CxxCallUnwindDtor(void (__clrcall*)(void *),void *)" ( ___CxxCallUnwindDtor@@$$J0YMXP6MXPAX@Z0@Z)
DDDDDDDDDDDD.obj : error LNK2001: unresolved external symbol "extern "C" void __clrcall ___CxxCallUnwindDtor(void (__clrcall*)(void *),void *)" ( ___CxxCallUnwindDtor@@$$J0YMXP6MXPAX@Z0@Z)
CCCCCCCCCCCC.obj : error LNK2001: unresolved external symbol "extern "C" void __clrcall ___CxxCallUnwindDtor(void (__clrcall*)(void *),void *)" ( ___CxxCallUnwindDtor@@$$J0YMXP6MXPAX@Z0@Z)
BBBBBBBBBBBB.obj : error LNK2001: unresolved external symbol "extern "C" void __clrcall ___CxxCallUnwindDtor(void (__clrcall*)(void *),void *)" ( ___CxxCallUnwindDtor@@$$J0YMXP6MXPAX@Z0@Z)
AAAAAAAAAAAA.obj : error LNK2019: unresolved external symbol "void __clrcall `eh vector destructor iterator'(void *,unsigned int,int,void (__clrcall*)(void *))" ( _M@$$FYMXPAXIHP6MX0@Z@Z) referenced in function "public: virtual void * __thiscall std::bad_alloc::`vector deleting destructor'(unsigned int)" ( _Ebad_alloc@std@@$$FUAEPAXI@Z)
EEEEEEEEEEEE.obj : error LNK2001: unresolved external symbol "void __clrcall `eh vector destructor iterator'(void *,unsigned int,int,void (__clrcall*)(void *))" ( _M@$$FYMXPAXIHP6MX0@Z@Z)
DDDDDDDDDDDD.obj : error LNK2001: unresolved external symbol "void __clrcall `eh vector destructor iterator'(void *,unsigned int,int,void (__clrcall*)(void *))" ( _M@$$FYMXPAXIHP6MX0@Z@Z)
CCCCCCCCCCCC.obj : error LNK2001: unresolved external symbol "void __clrcall `eh vector destructor iterator'(void *,unsigned int,int,void (__clrcall*)(void *))" ( _M@$$FYMXPAXIHP6MX0@Z@Z)
BBBBBBBBBBBB.obj : error LNK2001: unresolved external symbol "void __clrcall `eh vector destructor iterator'(void *,unsigned int,int,void (__clrcall*)(void *))" ( _M@$$FYMXPAXIHP6MX0@Z@Z)
EEEEEEEEEEEE.obj : error LNK2019: unresolved external symbol "extern "C" int __clrcall _atexit_m(void (__clrcall*)(void))" ( _atexit_m@@$$J0YMHP6MXXZ@Z) referenced in function "void __clrcall `anonymous namespace'::`dynamic initializer for 'void __clrcall ATO::WILDCARD::A0xc1ffe20f(void)''(void)" ( __E A0xc1ffe20f@WILDCARD@ATO@@YMXXZ@ A0xc1ffe20f@@$$FYMXXZ)
CCCCCCCCCCCC.obj : error LNK2001: unresolved external symbol "extern "C" int __clrcall _atexit_m(void (__clrcall*)(void))" ( _atexit_m@@$$J0YMHP6MXXZ@Z)
BBBBBBBBBBBB.obj : error LNK2001: unresolved external symbol "extern "C" int __clrcall _atexit_m(void (__clrcall*)(void))" ( _atexit_m@@$$J0YMHP6MXXZ@Z)
SOMELIB_1.lib(SOMEOBJ_1.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::iterator __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::end(void)" (__imp_ end@ $basic_string@DU $char_traits@D@std@@V $allocator@D@2@@std@@QAE AViterator@12@XZ) referenced in function "void __cdecl SomeClass_1::Replace(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,char,char)" ( Replace@OpusDT@@YAXAAV $basic_string@DU $char_traits@D@std@@V $allocator@D@2@@std@@DD@Z)
SOMELIB_2.lib(SOMEOBJ_2.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::iterator __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::end(void)" (__imp_ end@ $basic_string@DU $char_traits@D@std@@V $allocator@D@2@@std@@QAE AViterator@12@XZ)
SOMELIB_1.lib(SOMEOBJ_1.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::iterator __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::begin(void)" (__imp_ begin@ $basic_string@DU $char_traits@D@std@@V $allocator@D@2@@std@@QAE AViterator@12@XZ) referenced in function "void __cdecl SomeClass_1::Replace(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,char,char)" ( Replace@OpusDT@@YAXAAV $basic_string@DU $char_traits@D@std@@V $allocator@D@2@@std@@DD@Z)
SOMELIB_2.lib(SOMEOBJ_3.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::iterator __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::begin(void)" (__imp_ begin@ $basic_string@DU $char_traits@D@std@@V $allocator@D@2@@std@@QAE AViterator@12@XZ)
SOMELIB_2.lib(SOMEOBJ_4.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::const_iterator __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::begin(void)const " (__imp_ begin@ $basic_string@DU $char_traits@D@std@@V $allocator@D@2@@std@@QBE AVconst_iterator@12@XZ) referenced in function "public: bool __thiscall SomeClass_1::CaseInsensitiveStringLessThan::operator()(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " ( RCaseInsensitiveStringLessThan@OpusDT@@QBE_NABV $basic_string@DU $char_traits@D@std@@V $allocator@D@2@@std@@0@Z)
SOMELIB_2.lib(SOMEOBJ_5.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::const_iterator __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::begin(void)const " (__imp_ begin@ $basic_string@DU $char_traits@D@std@@V $allocator@D@2@@std@@QBE AVconst_iterator@12@XZ)
SOMELIB_2.lib(SOMEOBJ_4.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::const_iterator __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::end(void)const " (__imp_ end@ $basic_string@DU $char_traits@D@std@@V $allocator@D@2@@std@@QBE AVconst_iterator@12@XZ) referenced in function "public: bool __thiscall SomeClass_1::CaseInsensitiveStringLessThan::operator()(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " ( RCaseInsensitiveStringLessThan@OpusDT@@QBE_NABV $basic_string@DU $char_traits@D@std@@V $allocator@D@2@@std@@0@Z)
SOMELIB_2.lib(SOMEOBJ_5.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::const_iterator __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::end(void)const " (__imp_ end@ $basic_string@DU $char_traits@D@std@@V $allocator@D@2@@std@@QBE AVconst_iterator@12@XZ)

Unresolved Token and other link errors when migrating from VC++ 2003 to VC++2005 Express
John Bar
MyP3uK
You said you removed /Zi (Z lowercase I) but the flag that I needed to remove was /Zl (Z lowercase L). Was this just a typo, or did you remove a different flag
I only ran into this when converting old projects. If your project file isn't too complicated, it might be easier to start over with a new project file and add your existing source to it.
-Frank
Jeps
GdiplusUtils.obj : error LNK2028: unresolved token (0A0001A4) "extern "C" void __stdcall GdiplusShutdown(unsigned long)" ( GdiplusShutdown@@$$J14YGXK@Z) referenced in function "private: void __thiscall CGdiplusUtils::Shutdown(void)" ( Shutdown@CGdiplusUtils@@$$FAAEXXZ)< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
GdiplusUtils.obj : error LNK2028: unresolved token (0A0001A5) "extern "C" enum Gdiplus::Status __stdcall GdiplusStartup(unsigned long *,struct Gdiplus::GdiplusStartupInput const *,struct Gdiplus::GdiplusStartupOutput *)" ( GdiplusStartup@@$$J212YG AW4Status@Gdiplus@@PAKPBUGdiplusStartupInput@2@PAUGdiplusStartupOutput@2@@Z) referenced in function "private: void __thiscall CGdiplusUtils::Startup(void)" ( Startup@CGdiplusUtils@@$$FAAEXXZ)
GdiplusUtils.obj : error LNK2028: unresolved token (0A000357) "extern "C" enum Gdiplus::Status __stdcall GdipClonePath(class Gdiplus::GpPath *,class Gdiplus::GpPath * *)" ( GdipClonePath@@$$J18YG AW4Status@Gdiplus@@PAVGpPath@2@PAPAV32@@Z) referenced in function "protected: __thiscall Gdiplus::GraphicsPath::GraphicsPath(class Gdiplus::GraphicsPath const &)" ( 0GraphicsPath@Gdiplus@@$$FIAE@ABV01@@Z)
GdiplusUtils.obj : error LNK2028: unresolved token (0A000370) "extern "C" enum Gdiplus::Status __stdcall GdipCloneStringFormat(class Gdiplus::GpStringFormat const *,class Gdiplus::GpStringFormat * *)" ( GdipCloneStringFormat@@$$J18YG AW4Status@Gdiplus@@PBVGpStringFormat@2@PAPAV32@@Z) referenced in function "protected: __thiscall Gdiplus::StringFormat::StringFormat(class Gdiplus::StringFormat const &)" ( 0StringFormat@Gdiplus@@$$FIAE@ABV01@@Z)
GdiplusUtils.obj : error LNK2019: unresolved external symbol "extern "C" enum Gdiplus::Status __stdcall GdipCloneStringFormat(class Gdiplus::GpStringFormat const *,class Gdiplus::GpStringFormat * *)" ( GdipCloneStringFormat@@$$J18YG AW4Status@Gdiplus@@PBVGpStringFormat@2@PAPAV32@@Z) referenced in function "protected: __thiscall Gdiplus::StringFormat::StringFormat(class Gdiplus::StringFormat const &)" ( 0StringFormat@Gdiplus@@$$FIAE@ABV01@@Z)
GdiplusUtils.obj : error LNK2019: unresolved external symbol "extern "C" enum Gdiplus::Status __stdcall GdiplusStartup(unsigned long *,struct Gdiplus::GdiplusStartupInput const *,struct Gdiplus::GdiplusStartupOutput *)" ( GdiplusStartup@@$$J212YG AW4Status@Gdiplus@@PAKPBUGdiplusStartupInput@2@PAUGdiplusStartupOutput@2@@Z) referenced in function "private: void __thiscall CGdiplusUtils::Startup(void)" ( Startup@CGdiplusUtils@@$$FAAEXXZ)
GdiplusUtils.obj : error LNK2019: unresolved external symbol "extern "C" void __stdcall GdiplusShutdown(unsigned long)" ( GdiplusShutdown@@$$J14YGXK@Z) referenced in function "private: void __thiscall CGdiplusUtils::Shutdown(void)" ( Shutdown@CGdiplusUtils@@$$FAAEXXZ)
GdiplusUtils.obj : error LNK2019: unresolved external symbol "extern "C" enum Gdiplus::Status __stdcall GdipClonePath(class Gdiplus::GpPath *,class Gdiplus::GpPath * *)" ( GdipClonePath@@$$J18YG AW4Status@Gdiplus@@PAVGpPath@2@PAPAV32@@Z) referenced in function "protected: __thiscall Gdiplus::GraphicsPath::GraphicsPath(class Gdiplus::GraphicsPath const &)" ( 0GraphicsPath@Gdiplus@@$$FIAE@ABV01@@Z)
Any Ideas
iming
I have similar problem. but i am using VC++ 2002 frame work 1.0
i am trying to create a bitmap file of a dialog window using GDI+
i get 9 of the following type error during linking.
test_window error LNK2001: unresolved external symbol "enum Gdiplus::Status __stdcall Gdiplus::DllExports::GdipCloneStringFormat(class Gdiplus::GpStringFormat const *,class Gdiplus::GpStringFormat * *)" ( GdipCloneStringFormat@DllExports@Gdiplus@@$$J18YG AW4Status@2@PBVGpStringFormat@2@PAPAV42@@Z)
I dont have /Zl
my code using the GDI is:
#include
<windows.h>#include <gdiplus.h>
#include <stdio.h>
using namespace Gdiplus;
GdiplusStartupInput gdiplusStartupInput;
ULONG_PTR gdiplusToken;
GdiplusStartup(&gdiplusToken, &gdiplusStartupInput, NULL);
Gdiplus::Bitmap *gbit =
new Gdiplus::Bitmap(hbm, hPal); //where hbm is a HBITMAP and hPal is HPALLETGdiplusShutdown(gdiplusToken);
Nian2000
As of right now I do not have a stand alone sample that will reproduce the problem. As it is, the link errors are occuring when trying to link to proprietary code so I cannot share a stand alone example based on this. I may have something similiar that I can share though, but I will have to see. Thank you for looking into this.
SoftwareGerbil
Dariusdm
Well, I had "/Zi" flags in use so I took that out just in case but still no joy. We have even upgraded to Visual Studio 2005 Professional instead of the Express editions but no real change with that either. So I am back to square one.
If anyody has even a minute idea of what might be going on let me hear it. Right now, I can keep using 2003 for my part of this project but sooner or later I am going to need to migrate it. Hopefully I'll find out what is up before then.
Thanks,
SoftwareGerbil
Computerma
OK folks,
I've been on vacation an couldn't update things here. I finally just dump my Visual Studio 2005 converted solution files and started from scratch and added my files as suggested. This seems to have taken care of a majority of my issues especially the above mentioned unresolved tokens. I still have a few minor problems but I believe that these are because I am linking to a static 3rd party Visual Studio 2003 libraries as all of the link errors involve only the these libs. Anyway, I ahve contacted the 3rd part and we will see what happens.
Thanks for all of the help and suggestions from everyone.
SoftwareGerbil
Blastobi
I will be more than happy to forward to the appropriate folks for help.
Thanks,
Ayman Shoukry
Program Manager
VC++ Team
Altrix
For me, a
#pragma comment(lib, "gdiplus.lib")
worked perfectly.
Jangid
I did not have /ZI instead I had /Zi. /ZI and /Zi do different things. I figured that I would just try getting rid of the one I had just in case it made a difference...it did not.
My project is fairly complex but at this point I am going to take your advice and try starting over with a new project. Thanks for your help.
SoftwareGerbil
Liebethal
Thanks for the information. I will check this first thing Monday morning and see if it is the problem. Again, thanks for the help.
DannoMontano
I've seen the problem with .cctor not being found when the migrated settings had a "/Zl" flag in the "Command line options" property page for the C++ compiler. I removed the setting and everything worked fine.
-Frank
Luis de Sousa
Have you included gdiplus.lib as an additionaly dependency
mjeter
Thank you for your advise. I removed "/Zl" flag and my project compile perfectly.
thank you again.