Problema Manifest

Intrebari despre programarea cu VC++ incluzand mediul de dezvoltare, instalare, setari, debugger, compilator, linker si documentatie.
Post Reply
flapmind
Junior
Junior
Posts: 8
Joined: 25 Aug 2008, 17:14
Judet: Brăila

Problema Manifest

Post by flapmind » 24 Feb 2009, 23:50

Probabil ati observat si voi.In VS daca se foloseste MULTIBYTE Character Set,manifestul crapa si aplicatia se face urata.Cum pot rezolva problema ?
Va multumesc !



User avatar
crystyce
Junior
Junior
Posts: 38
Joined: 26 Jul 2007, 22:24
Location: Bucuresti
Contact:

Re: Problema Manifest

Post by crystyce » 25 Feb 2009, 10:26

In stdafx.h jos de tot ai bucata asta:

Code: Select all

#ifdef _UNICODE
#if defined _M_IX86
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
#elif defined _M_IA64
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
#elif defined _M_X64
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
#else
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
#endif
#endif
Comenteaza #ifdef _UNICODE si manifestul o sa mearga cum trebuie.

flapmind
Junior
Junior
Posts: 8
Joined: 25 Aug 2008, 17:14
Judet: Brăila

Re: Problema Manifest

Post by flapmind » 25 Feb 2009, 20:05

worked just fine.Thnaks alot.

Post Reply