Linker can't link functions from advapi

Deen O'Connor deen.oconnor at yandex.ru
Tue Apr 2 08:00:14 UTC 2019


On Monday, 1 April 2019 at 21:10:20 UTC, Mike Parker wrote:

> Right. That’s how the compile-link model works. While it would 
> be possible to add a lib pragma to every system module in 
> DRuntime so that the appropriate library is automatically 
> linked when the module is imported, that’s not currently the 
> case. So you do have to provide them to the linker.
>
> When using Optlink, some commonly system libs are automatically 
> linked, like kernel32 for example, but not when using the MS 
> linker.

I see, thank you for explaining that.


More information about the Digitalmars-d mailing list