Compiling errors in <atltheme.h> on VS2010 Express under Windows XP
Opened this issue · 0 comments
snoopy-coder commented
I tried compiling the code https://www.codeproject.com/Articles/13383/ListCtrl-A-WTL-list-control-with-Windows-Vista-sty just to see how it runs and then I encountered several errors:
C:\WTL91\Include\atltheme.h(248): error C2664: 'GetThemeTextMetrics' : cannot convert parameter 5 from 'PTEXTMETRIC' to 'TEXTMETRICW *'
C:\WTL91\Include\atltheme.h(338): error C2664: 'GetThemeFont' : cannot convert parameter 6 from 'LOGFONT *' to 'LOGFONTW *'
C:\WTL91\Include\atltheme.h(349): error C2664: 'GetThemeFont' : cannot convert parameter 6 from 'LOGFONT *' to 'LOGFONTW *'
C:\WTL91\Include\atltheme.h(414): error C2664: 'GetThemeSysFont' : cannot convert parameter 3 from 'LOGFONT *' to 'LOGFONTW *'
OS: Windows XP SP3
Environment: VS2010 Express + WSDK 7.1 + WDK 7.1 + WTL 9.1
Thanks in advance for any help you might offer as I am helpless.