Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Datenbanken (https://www.delphipraxis.net/15-datenbanken/)
-   -   Delphi Access violation bei dataset.refresh/MSSQL Image typ (https://www.delphipraxis.net/985-access-violation-bei-dataset-refresh-mssql-image-typ.html)

Stephan 4. Okt 2002 20:44


Access violation bei dataset.refresh/MSSQL Image typ
 
Hi,

1. Frage:

hm, mein Programm speichert ein .bmp in eine paradox tabelle. Das funktioniert wunderbar. Jetzt hab ich das ganze auf einen MSSQL Server umgestellt. Ich hab die Tabellen erstellt und soweit geht alles gut. Sobald ich allerdings ein bmp in dieses Image Feld speicher und den Befehl dataset.refresh auf dem ersten Datensatz ausführ passiert noch nichts. Auf jedem anderen DS wird mein Programm sofort beendet. In Delphi kommt die Delphi Meldung EAcceptViolation und danach taucht das CPU Fenster auf. Sobald kein Bild mehr gespeichert ist funktioniert alles.

Woran könnte das liegen?

2. Frage:

wie groß darf ein Bild sein dass ich in ein Feld des Typs Image speichern kann?


Alle Zeitangaben in WEZ +1. Es ist jetzt 10:12 Uhr.

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