Link error referencing Windows Desk Top Manager
-
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
-
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
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.
-
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.
-
Richard I changed it in the release Property Pages added dwmapi.lib but I did a debug build :( got a clean link now thanks