Logging logs in Windows

Alexander Zhirov azhirov1991 at gmail.com
Tue Apr 18 12:47:47 UTC 2023


On Tuesday, 18 April 2023 at 12:08:35 UTC, Richard (Rikki) Andrew 
Cattermole wrote:
> Sounds like a simple case of not linking against the right 
> library:
>
> https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-reporteventa
>
> Library	Advapi32.lib
> DLL	Advapi32.dll
>
> Should be as simple as adding advapi32 to your libs directive.

Yes, you were right, it helped. [I will know that there is a 
footnote at the bottom with a 
description](https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-reporteventa#requirements)


More information about the Digitalmars-d-learn mailing list