Call LoadLibraryA on DllMain to fix crash

This commit is contained in:
Dimitris Zervas
2023-05-27 21:45:02 +03:00
parent d65438091f
commit 14e6572521
3 changed files with 6 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ lazy_static = "1.4.0"
ctor = "0.2.0"
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.9", features = ["winnt"] }
winapi = { version = "0.3.9", features = ["winnt", "libloaderapi"] }
[build-dependencies]
goblin = "0.6.1"