Setting up Borland Shared Database
EMIR Std/EMIR Pro
- Should you plan to install EMIR on a new machine you will tend to run into the issue where the Borland registry isn’t set up correctly. When you will try to run EMIR it will prompt you with the error ‘An error occurred while trying to initialize the Borland Database Engine (error $2501)’.
- To setup BDE you will need to find the EMIR app directory and open EMIR Setup and run BDEInstall.exe.
- You will need to go through a follow the default options when in the BDE installer. When it asks you for a file path to save the Borland directory too you must check that the path matches: c:\ProgramFiles(x86)\CommonFiles\BorlandShared\BDE\Setup.Once you have checked this path you can continue with the default options for the setup.
Once the Borland directory has been setup their EMIR will run fine without errors, I usually take an extra step in setting up their EMIR. You can set this up in BDEAdmin which is located in:
In the Borland Database directory look for the BDEAdmin.exe and run this. Within the exe you can select the configuration tab and drop down System > INIT. Once in the desired registry you will need to change SharedMemLocation from nothing to 0x5BDE and the SharedMemSize from default to 4096.
Once you run EMIR after these changes it should work fine.
Note: Use the table below with the above setup.
Physical Memory (RAM) Size
Might have to be done on each PC where EMIR is used.