Firebird embedded x64 Windows: CreateDB fails with an exception
Original Reporter info from Mantis: BigChimp
-
Reporter name: Reinier Olislagers
Original Reporter info from Mantis: BigChimp
- Reporter name: Reinier Olislagers
Description:
The TIBConnection.CreateDB call fails in my FPC x64 test program on Windows x64 with an embedded database.
Perhaps due to exceptions inside fbembed.dll that bubble up (see bug 19116 for a similar case).
Running the same program on FPC x86 does work and creates a database.
Steps to reproduce:
Copy fbembed.dll and other required Firebird embedded dlls/.msg files into directory, compile and run test program. The program is meant to create a database file, but won't.
Additional information:
Used Firebird 2.5 embedded.
Test program output:
File test.fdb does not exist.
Creating a Firebird embedded database...
ERROR creating database. Probably problems loading embedded library:
- not all files present
- wrong architecture (e.g. 32 bit instead of 64 bit)
Exception message:
EControlC/Control-C hit
Marking as minor as it's probably not very important to a lot of developers; however, it does severly limit the usefulness/flexibility of Firebird embedded on x64 Windows.
Mantis conversion info:
- Mantis ID: 21581
- OS: Windows
- OS Build: Vista
- Build: 20638
- Platform: x64
- Version: 2.7.1
- Fixed in version: 3.0.0
- Fixed in revision: 23732 (#2caa05cc)
- Target version: 2.7.1