I have a strange case here. The case happen to both Firebird 3.0 and 4.0.
Here are the steps:
- In Windows, install x64 firebird from setup file.
- Make sure the firebird service is running and listen to port 3050.
- I use firebird OO API like
fb_get_master_interface: IMaster to test
- Connect to
localhost:employee and close the connection.
- Without closing the application, using
IMaster.getDispatcher.createDatabase to create an embedded database using hostless URI and an error shall prompt:
MappingIpc: Cannot initialize the shared memory region
Shared memory area is probably already created by another engine instance in another Windows session
By reversing the steps:
- In application, using
IMaster.getDispatcher.createDatabase to create an embedded database using hostless URI
- Without closing application, connect to
localhost:employee andit prompt same error:
MappingIpc: Cannot initialize the shared memory region
Shared memory area is probably already created by another engine instance in another Windows session
Using same fbclient.dll and access localhost:employee (open and close) followed by create an hostless database raise the exception.
I have a strange case here. The case happen to both Firebird 3.0 and 4.0.
Here are the steps:
fb_get_master_interface: IMasterto testlocalhost:employeeand close the connection.IMaster.getDispatcher.createDatabaseto create an embedded database using hostless URI and an error shall prompt:By reversing the steps:
IMaster.getDispatcher.createDatabaseto create an embedded database using hostless URIlocalhost:employeeandit prompt same error:Using same
fbclient.dlland accesslocalhost:employee(open and close) followed by create an hostless database raise the exception.