-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
Interacting with an x86 DLL #242
Comments
Try using node x86. Line 10 in e8705e8
|
Dang, so there isn't a way to execute a 32bit DLL from 64bit note 😢 For various reasons (Next.JS requiring 64-bit and others) I can't downgrade to 32 bit node. I guess I'll need to figure out a different way of interacting with the DLL. |
You could create some kind of postinstall script to patch this line and force it to load ia32 dll instead. Start by just replacing that line in var nativePath = path.resolve(__dirname, `native/${process.platform}/ia32/${nodeVersion}`); |
Hello, I am trying to work with an old DLL that operates in x86.
When attempting to access the DLL I get this error...
The error is
System.BadImageFormatException
which I would usually attest to an x86 vs x64 conflict.Any ideas?
Here is the code I'm using...
Thanks!
Connor
The text was updated successfully, but these errors were encountered: