Windows psapi, linker issues

M nope at nope.nope
Wed Dec 26 18:51:48 UTC 2018


On Wednesday, 26 December 2018 at 15:50:31 UTC, kinke wrote:
> That's looking better now. You probably need to link explicitly 
> against psapi.lib for that symbol. According to MSDN 
> (https://docs.microsoft.com/en-us/windows/desktop/api/psapi/nf-psapi-getprocessimagefilenamea), newer Windows versions provide a `K32GetProcessImageFileName` function in kernel32.lib, but druntime declares the old one.

Thanks, that helped. Any reason why libraries referenced by 
druntime are not added to linker flags automatically?


More information about the digitalmars-d-ldc mailing list