when I compile Raymend Chen's scratch project, I got this error message in Visual Studio 2017:
Error LNK2019 unresolved external symbol __imp__InitCommonControls@0 referenced in function _WinMain@16
- How to enable common controls in a Windows app
- InitCommonControlsex()?
- Common Control Versions
- Enabling Visual Styles
- Visual Styles Overview
- MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
- How do i link kernel32.lib, user32.lib, gdi32.lib, comdlg32.lib, libraries to my c++
- Static libraries(.lib) built with VS2010 fails to link to an application which
- Linker Tools Error LNK2019
- Linker Tools Error LNK2019
- Linker Tools Error LNK2001
good solution:
#pragma comment(lib, "comctl32.lib")
This topic lists the available versions of the Common Control library (ComCtl32.dll), describes how to identify the version that your application is using, and explains how to target your application for a specific version.
interesting demo
an interesting demo
No comments:
Post a Comment