| author | |
| committer | |
| log | fdc31321268214fbb2b0832b0d269cea56639e98 |
| tree | 378399b2b3b2b6c07aced240a83d7b361cc26109 |
| parent | 3ef8460d0646dbf0e762cbd7e0728fc2026d2001 |
1 files changed, 2 insertions(+), 1 deletions(-)
lib/std/dynamic_library.zig+2-1| ... | ... | @@ -283,7 +283,8 @@ pub const WindowsDynLib = struct { |
| 283 | 283 | |
| 284 | 284 | pub fn openW(path_w: [*:0]const u16) !WindowsDynLib { |
| 285 | 285 | return WindowsDynLib{ |
| 286 | .dll = try windows.LoadLibraryW(path_w), | |
| 286 | // + 4 to skip over the \??\ | |
| 287 | .dll = try windows.LoadLibraryW(path_w + 4), | |
| 287 | 288 | }; |
| 288 | 289 | } |
| 289 | 290 |