Wednesday, December 9, 2020

Error LNK2019 unresolved external symbol __imp__InitCommonControls@0 referenced in function _WinMain@16

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

  1. How to enable common controls in a Windows app
  2. InitCommonControlsex()?
  3. good solution:

    #pragma comment(lib, "comctl32.lib")

  4. Common Control Versions
  5. 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.

  6. Enabling Visual Styles
  7. Visual Styles Overview
  8. interesting demo

  9. MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
  10. an interesting demo

    Link Error Fix

  11. How do i link kernel32.lib, user32.lib, gdi32.lib, comdlg32.lib, libraries to my c++
  12. Static libraries(.lib) built with VS2010 fails to link to an application which
  13. Linker Tools Error LNK2019
  14. Linker Tools Error LNK2019
  15. Linker Tools Error LNK2001

No comments:

Post a Comment