Add manifest for winxp style controls, remove link options from stdafx for old broken version of vs.

This commit is contained in:
Ron Pedde 2006-06-06 04:03:50 +00:00
parent 6428e2f531
commit e1d07af882
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="x86" publicKeyToken="6595b64144ccf1df" language="*"></assemblyIdentity>
</dependentAssembly>
</dependency>
</assembly>

View File

@ -57,6 +57,7 @@ extern CAppModule _Module;
#define NOTIFY_FOR_THIS_SESSION 0
#endif
#if _MSC_VER >= 1400
#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
@ -66,6 +67,7 @@ extern CAppModule _Module;
#else
#pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
#endif
#endif
inline void SafeStringCopy(TCHAR *dest, const TCHAR *source, size_t len)
{