AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Datenbanken Delphi BDE Fehler $274F unter XP
Thema durchsuchen
Ansicht
Themen-Optionen

BDE Fehler $274F unter XP

Ein Thema von goolaf · begonnen am 22. Jun 2005 · letzter Beitrag vom 23. Jun 2005
Antwort Antwort
goolaf

Registriert seit: 30. Jul 2004
Ort: 42781 Haan
12 Beiträge
 
Delphi 5 Enterprise
 
#1

BDE Fehler $274F unter XP

  Alt 22. Jun 2005, 09:20
Datenbank: Sybase • Version: 5 • Zugriff über: BDE und ODBC
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.
Vielen Dank für Eure Hilfen.

Olaf
  Mit Zitat antworten Zitat
marabu

Registriert seit: 6. Apr 2005
10.109 Beiträge
 
#2

Re: BDE Fehler $274F unter XP

  Alt 22. Jun 2005, 11:34
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
  Mit Zitat antworten Zitat
goolaf

Registriert seit: 30. Jul 2004
Ort: 42781 Haan
12 Beiträge
 
Delphi 5 Enterprise
 
#3

Re: BDE Fehler $274F unter XP

  Alt 22. Jun 2005, 12:04
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.
Vielen Dank für Eure Hilfen.

Olaf
  Mit Zitat antworten Zitat
marabu

Registriert seit: 6. Apr 2005
10.109 Beiträge
 
#4

Re: BDE Fehler $274F unter XP

  Alt 22. Jun 2005, 12:16
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
  Mit Zitat antworten Zitat
goolaf

Registriert seit: 30. Jul 2004
Ort: 42781 Haan
12 Beiträge
 
Delphi 5 Enterprise
 
#5

Re: BDE Fehler $274F unter XP

  Alt 22. Jun 2005, 13:16
Mit Sicherheit habe ich keine getrennten Sessions. Aber es läuft ja unter Win2000, wo ist da der Unterschied zu WinXP?
Vielen Dank für Eure Hilfen.

Olaf
  Mit Zitat antworten Zitat
marabu

Registriert seit: 6. Apr 2005
10.109 Beiträge
 
#6

Re: BDE Fehler $274F unter XP

  Alt 22. Jun 2005, 13:40
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
  Mit Zitat antworten Zitat
goolaf

Registriert seit: 30. Jul 2004
Ort: 42781 Haan
12 Beiträge
 
Delphi 5 Enterprise
 
#7

Re: BDE Fehler $274F unter XP

  Alt 22. Jun 2005, 13:45
Das müßte ich mal nachprüfen. Aber erst mal besten Dank für Deine Mühen.
Vielen Dank für Eure Hilfen.

Olaf
  Mit Zitat antworten Zitat
goolaf

Registriert seit: 30. Jul 2004
Ort: 42781 Haan
12 Beiträge
 
Delphi 5 Enterprise
 
#8

Re: BDE Fehler $274F unter XP

  Alt 23. Jun 2005, 06:42
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.
Vielen Dank für Eure Hilfen.

Olaf
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 21:45 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