[Last Call] Learn how to a build a cloud-first strategyRegister Now


why do i get bde error $210D if my routine in COM DLL but it works fine as standalone app

Posted on 2004-11-02
Medium Priority
Last Modified: 2012-08-14
i'm trying to do some dBase restructuring with the BDE.  can't put it in my main app because we are using a special bde replacement.  when i compile this restructuring code into a standalone app, it works great.  when i compile the same code into a COM automation DLL, i get bde error $210D (not enough memory).  i know for sure that the bde is in use in this project (not the bde replacement)...something strange seems to be happening...  it's almost like the memory allocation conflicts with the application's memory space but i don't know enough about the memory management of COM to make a good guess how to fix this.

in a way, it's not too terrible because the standalone app works fine...but i wanted a nicer solution!

Question by:mikepj
LVL 22

Accepted Solution

Mohammed Nasman earned 250 total points
ID: 12479441
from BDE support page

Shared memory conflict ($210D)
Problem: The BDE is trying to use a location in memory that is already in use by the operating system or another application.
1) Close all BDE applications.
2) Find the program BDEADMIN.EXE. This is usually in a directory somewhere under "\Program Files\Borland...".
3) Run BDEADMIN.EXE and click on the Configuration tab.
4) There should be an item in the treeview on the left side called "Configuration". If it's not expanded, expand it.
5) Next, expand the System entry below it. Under System, select INIT.
6) In the right-side window, find the entry called "SHAREDMEMLOCATION". Change this value to 5BDE.
7) Next, click on the word "Object" in the main window's menu bar, and select Apply.
8) Answer "OK" to the confirmation to "Save all edits...".

Other values that may also help solve this issue on NT or Windows 2000 are: 1000, 7000, and 7F00. If none of these values resolve the issue, you may try 2000, 3000, 4000, etc. or any values in between the specified ranges below for each operating system:
    Windows 95/98: SHAREDMEMLOCATION = 9000 to FFFF
    Windows NT/2000: SHAREDMEMLOCATION = 1000 to 7F00
It has also been reported by some users that removing or disabling the driver for a sound card on Windows NT can resolve the issue as well, but normally just "relocating" the BDE's memory pool using the SHAREDMEMLOCATION setting will suffice.

Author Comment

ID: 12597309
thank you for your response.  sorry for my late response; i had been hoping to try some of that stuff but i haven't had time.  didn't want to fool with customer's bde config since that horror show would be something i'd like to attend.  tried some memory location stuff before posting this question but it didn't work.  this one looks a bit different from the one i had.  i've decided to accept your answer to close the question.  the bde setup sure is a frustrating and hopeless mess...i can't possibly modify customer bde config without taking the chance of breaking something of theirs!

thanks for trying to help,

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses
Course of the Month17 days, 18 hours left to enroll

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question