Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Datenbanken (https://www.delphipraxis.net/15-datenbanken/)
-   -   Delphi BDE Fehler $274F unter XP (https://www.delphipraxis.net/48213-bde-fehler-%24274f-unter-xp.html)

goolaf 22. Jun 2005 09:20

Datenbank: Sybase • Version: 5 • Zugriff über: BDE und ODBC

BDE Fehler $274F unter XP
 
Hallo,

weiß jemand, was der Fehler BDE $274F (Function not found in service library) bedeutet? :?: Tritt unter XP auf, wenn ich aus einem Delphiprogramm, welches über die BDE mit meiner DB (Sybase) verbunden ist, ein weiteres Delphiprogramm starte, welches ebenfalls über die BDE auf die DB zugreifen soll.

Ich würde gerne von der BDE weggehen, aber die Größe des Programms läßt eine kurzfristige Umstellung nicht zu. Daher muß ich noch etwas mit der BDE leben.

marabu 22. Jun 2005 11:34

Re: BDE Fehler $274F unter XP
 
Hallo,

$274F = function not found in service library

da scheint es einen missmatch zu geben zwischen den function headern in deiner wrapper unit und der DLL im BDE-Ordner.

Grüße vom marabu

goolaf 22. Jun 2005 12:04

Re: BDE Fehler $274F unter XP
 
Aber müßte dann der Fehler nicht schon bei der ersten EXE beim Start auftreten? Ich hatte eher das Gefühl, das unter XP der Mehrfachstart der BDE nicht funktioniert.

marabu 22. Jun 2005 12:16

Re: BDE Fehler $274F unter XP
 
Bin wohl nicht ganz auf der Höhe heute...

Hast du mal überprüft, ob du getrennte Sessions für die BDE in deiner Database-Komponente eingerichtet hast?

marabu

goolaf 22. Jun 2005 13:16

Re: BDE Fehler $274F unter XP
 
Mit Sicherheit habe ich keine getrennten Sessions. Aber es läuft ja unter Win2000, wo ist da der Unterschied zu WinXP?

marabu 22. Jun 2005 13:40

Re: BDE Fehler $274F unter XP
 
Keine Ahnung - wenn es mir heute abend gelingt den Fehler zu reproduzieren, dann werde ich mich weiter damit befassen. Allerdings habe ich Sybase nicht. Dein ODBC Treiber - ist der von Sybase und aktuell?

marabu

goolaf 22. Jun 2005 13:45

Re: BDE Fehler $274F unter XP
 
Das müßte ich mal nachprüfen. Aber erst mal besten Dank für Deine Mühen.

goolaf 23. Jun 2005 06:42

Re: BDE Fehler $274F unter XP
 
Ich habe die Lösung bei Borland gefunden. Zur Fehlerbehebung muß man wie bei den Fehlern $210D und $2501 vorgehen.

"Insufficient memory for this operation" ($2501)
Problem: Your application (or another BDE application) has exhausted the memory available to the BDE.
Solution:
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 "SHAREDMEMSIZE". Change this value to 4096.
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...".

You can now try to start your application again. If you still have trouble running the application and you are running Windows NT or Windows 2000, follow the same instructions above, but this time leave the SHAREDMEMSIZE property at 4096, and change the SHAREDMEMLOCATION property to "0x5BDE". Then apply the changes as before, and retry your application. If you still receive the same error, try changing SHAREDMEMSIZE to 8192. If the error continues to persist, you can also try "0x6BDE" for SHAREDMEMLOCATION. If the error still continues to persist, you can also try other values for SHAREDMEMLOCATION. (See solution for error $210D below.)

"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.
Solution:
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.


Alle Zeitangaben in WEZ +1. Es ist jetzt 11:38 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz