Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Link error referencing Windows Desk Top Manager

Link error referencing Windows Desk Top Manager

Scheduled Pinned Locked Moved C / C++ / MFC
helpvisual-studiojsonlounge
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    ForNow
    wrote on last edited by
    #1

    Hi I got a link error

    error LNK2019: unresolved external symbol __imp_DwmExtendFrameIntoClientArea

    referencing this API

    DwmExtendFrameIntoClientArea

    I did include in my VS property pages Linker->general-> input dwmapi.lib tried to open it (the dwmapi.lib) with depedency Walker got no DOS or PE signature. I opened dwmapi.dll from windows\system32 and saw the API thru dependency walker inluded dwmapi.h in the source. The Doc has Dwmapi with a capitol D but both .lib and the dll had small d Any help appreciated thanks

    L 1 Reply Last reply
    0
    • F ForNow

      Hi I got a link error

      error LNK2019: unresolved external symbol __imp_DwmExtendFrameIntoClientArea

      referencing this API

      DwmExtendFrameIntoClientArea

      I did include in my VS property pages Linker->general-> input dwmapi.lib tried to open it (the dwmapi.lib) with depedency Walker got no DOS or PE signature. I opened dwmapi.dll from windows\system32 and saw the API thru dependency walker inluded dwmapi.h in the source. The Doc has Dwmapi with a capitol D but both .lib and the dll had small d Any help appreciated thanks

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      According to the documentation at DwmExtendFrameIntoClientArea function (dwmapi.h) - Win32 apps | Microsoft Docs[^], the library is named Dwmapi.lib. However, my experiences is that the linker does not care about character case in .lib names. There must be something else that prevents it from satisfying this reference.

      F 1 Reply Last reply
      0
      • L Lost User

        According to the documentation at DwmExtendFrameIntoClientArea function (dwmapi.h) - Win32 apps | Microsoft Docs[^], the library is named Dwmapi.lib. However, my experiences is that the linker does not care about character case in .lib names. There must be something else that prevents it from satisfying this reference.

        F Offline
        F Offline
        ForNow
        wrote on last edited by
        #3

        Richard I changed it in the release Property Pages added dwmapi.lib but I did a debug build :( got a clean link now thanks

        L 1 Reply Last reply
        0
        • F ForNow

          Richard I changed it in the release Property Pages added dwmapi.lib but I did a debug build :( got a clean link now thanks

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Oh yes, yet another one of Microsoft's 'Easter Eggs' left for us to trip over.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups