-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
win_delay_load_hook.c should be updated. #5088
Comments
Thanks. btw, previously we supported using node binary modules directly but now it's broken due to v8 ABI change in 0.15.x and later. See #5086 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The win_delay_load_hook.c file should be updated to match [email protected] and to work with the new windows build tools. Making this change lets me build and run nwjs apps using native modules/FFI with node-gyp on Windows.
All that needs to be changed is:
PfnDliHook __pfnDliNotifyHook2 = load_exe_hook;
to
decltype(__pfnDliNotifyHook2) __pfnDliNotifyHook2 = load_exe_hook;
Reference win_delay_load_hook.cc in the [email protected] repo.
Build error without the change:
The text was updated successfully, but these errors were encountered: