zig icon indicating copy to clipboard operation
zig copied to clipboard

add ability to open dlls with platform-specific flags

Open wozniak opened this issue 1 year ago • 2 comments

Only implemented for Windows right now, I'm not sure that I've written any of this correctly but the idea is there. Please give me feedback as I still have not actually written real zig anywhere before.

wozniak avatar Dec 25 '23 19:12 wozniak

reading https://learn.microsoft.com/en-us/windows/win32/api/libloaderapi/nf-libloaderapi-loadlibraryexw, LoadLibraryFlags looks like it should be an enum instead

nektro avatar Dec 25 '23 20:12 nektro

Ah, you're right. I must have missed "one of the following values".

wozniak avatar Dec 26 '23 01:12 wozniak

Thanks!

andrewrk avatar Jan 10 '24 01:01 andrewrk