Borland®
Shop
Products Downloads Services Support Partners News & Events Company Community
Company

 SQL LINKS DEVELOPER SUPPORT

SEARCH Borland Online/Developer Support

Tech Notes Index


WinNT, BDE Errors 2501, 210D, 2104, insufficient memory for this operation 
(2501), shared memory conflict (210D), cannot find engine configuration 
file (2104)
It may be necessary to modify the BDE setting SHAREDMEMLOCATION found 
on the SYSTEM | INIT page of the BDE Administrator. 
Valid SHAREDMEMLOCATION values range from 1000 to 7F00 (additional 
details can be found below and in the BDEADMIN.HLP file)

BDE v3.x and higher for Win95 and NT
With one application using the Borland Database Engine already
loaded-
Launch of second app using BDE:
	BDE Error 2501 "INSUFFICIENT MEMORY FOR THIS OPERATION"
Debugging second app:
	BDE Error 210D "SHARED MEMORY CONFLICT"
With debugger turned off:
	BDE Error 2104 "CANNOT FIND ENGINE CONFIGURATION FILE"

Additional SHAREDMEMLOCATION details:
Preferred address of shared memory manager. The shared memory 
manager and shared buffer manager load at a preferred address. 
If this address is used, the system can find a suitable 
address (first process only). If this address conflicts with 
another application, you might want to modify it. If the shared 
managers cannot be loaded into the default, or specified 
memory address, one attempt to allow the operating system to 
find a memory address is made.  If a memory address if specified 
outside the boundry (below), the default is used.
Default (for Windows 95): 0xEBDE0000
Minimum Value (for Windows 95): 0x90000000
Maximum Value (for Windows 95): 0xFFFF0000
Default (for Windows NT): 0x6BDE0000
Minimum Value (for Windows NT): 0x10000000
Maximum Value (for Windows NT): 0x7F000000
The range setting for SHAREDMEMLOCATION is 9000 to FFFF for 
Windows 95 and 1000 to 7F00 for Windows NT.
Only the upper word is used to set SHAREDMEMLOCATION.
In the BDE Administrator the "Object" | "Options" | "Save for use 
with" should be set to "Windows 95/NT only".  This will save all 
System and Driver settings to the registry.
When this option is set to "Windows 3.1 and Windows 95/NT" all 
changes are saved to just the CFG file.
If you wish to save new and updated System, Driver and 
Database/Alias settings to the CFG file then the "Save for use 
with" option should be toggled to "Windows 95/NT only", config 
settings updated and then the "Save for use with" option changed 
back to "Window 3.1..." etc.  This will ensure that changes 
are written to both the CFG file (for 16bit compatibility) and 
to the registry (for 32bit compatibility).

PUB
ALL WINNT BDE ERROR
BC, SF
6.26.98


 
Site Map Search Contact