mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 23:25:56 -05:00
Add manifest for winxp style controls, remove link options from stdafx for old broken version of vs.
This commit is contained in:
parent
6428e2f531
commit
e1d07af882
8
win32/FireflyShell/FireflyShell.exe.manifest
Normal file
8
win32/FireflyShell/FireflyShell.exe.manifest
Normal 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>
|
@ -57,6 +57,7 @@ extern CAppModule _Module;
|
|||||||
#define NOTIFY_FOR_THIS_SESSION 0
|
#define NOTIFY_FOR_THIS_SESSION 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if _MSC_VER >= 1400
|
||||||
#if defined _M_IX86
|
#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='*'\"")
|
#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
|
#elif defined _M_IA64
|
||||||
@ -66,6 +67,7 @@ extern CAppModule _Module;
|
|||||||
#else
|
#else
|
||||||
#pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
|
#pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
inline void SafeStringCopy(TCHAR *dest, const TCHAR *source, size_t len)
|
inline void SafeStringCopy(TCHAR *dest, const TCHAR *source, size_t len)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user