[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dark mode on Windows

From: Po Lu
Subject: Re: Dark mode on Windows
Date: Mon, 25 Oct 2021 14:25:38 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Vince Salvino <salvino@coderedcorp.com> writes:

> I originally tried dynamically loading dwmapi.dll, and it cannot be
> done dynamically. It will simply not load. I spent a lot of time
> head-scratching in gdb to figure this out. From what I read, it
> behaves a bit differently than other DLLs and has to be linked. This
> is also my first foray into Win32 programming, so I have exactly zero
> experience with any of this stuff, and could be wrong.

Some searching reveals that dwmapi.dll is apparently already loaded into
every program on systems that have it.

So you probably just need a way to get the address of the symbol for the
function you want to use.

But I don't know much about programming for MS-Windows, so I'm afraid I
can't help more.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]