Closed heri16 closed 9 years ago
It looks like no fbclient.dll on the path.
There is a 64-bit fbclient.dll in the path.
So what do you expect? 32 bit application will not use 64-bit dll place 32-bit fbclient.dll in the same dir with binding.node and you'll be able to connect to 64 or 32 bit Firebird
Correction: We use 64-bit node on our windows production servers. Please do indicate whether 64-bit NodeJs can be used with 64-bit fbclient.dll via these bindings. Thank you for the effort.
Just replace fbclient_ms.lib with x64 version and npm install. Or you want it to be automatic from npm on production servers?
Yes, I was looking for the x64 version of that file, but could not find it on npm or github servers. How is this file generated?
It should be in Firebird x64 installation in lib directory, while WOW64 contains 32-bit version.
My Firebird installation does not have a lib directory. Which version of firebird should we get this file from? 2.1? 2.5? 3? Could you commit it to this github repository? Thanks.
can be closed
duplicated of https://github.com/xdenser/node-firebird-libfbclient/issues/41
On Node 0.10.33 (32-bit), after npm install firebird.
PS C:\Users\ec2-user\cps-mailin> node test
module.js:356 Module._extensions[extension](this, filename); ^ Error: %1 is not a valid Win32 application. C:\Users\ec2-user\cps-mailin\node_modules\firebird\build\Release\binding.node at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17) at Object. (C:\Users\ec2-user\cps-mailin\node_modules\firebird\firebird.js:1:77)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)