3 comments. Current rating: (1 votes). Leave comments and/ or rate it.
Question:
What should I do with error 11012 ("2B04 Too many open files"). You may need to increase MAXFILEHANDLE limit in IDAPI configuration.
Answer:
Open the tool 'BDE Administrator' and choose the right tab 'Configuration'.
Thre open the node 'System' and click on subnode 'INIT'.
Then update 'MaxFileHandles' on the right side (it is 48 by default).
Send a message to
Subject
Comments:
2006-10-09, 13:12:07
michel.guedes.vieira@gmail.com from Brazil
Works, but this option will be available when I make the installation files of my application in the clients, or i'll need to set this config manually in all of them? Thanks, and I apologize for my bad english! :)
2007-02-19, 23:37:15
anonymous from Iran
function filehnd
var
Reg : TRegistry;
const
BDE_LOCAL_SHARE_KEY = '\Software\Borland\Database Engine\Settings\SYSTEM\INIT';
begin
Result:=false;
Reg := TRegistry.Create;
With Reg Do
begin
Access := KEY_READ or KEY_WRITE;
RootKey := HKEY_LOCAL_MACHINE;
{ Write the BDE keys }
// added new.
OpenKey(BDE_LOCAL_SHARE_KEY, true);
if lowercase(ReadString('MAXFILEHANDLES'))<>'96' then
begin
WriteString('MAXFILEHANDLES', '96');
Result:=true;
end;
end;