Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Datenbanken (https://www.delphipraxis.net/15-datenbanken/)
-   -   Delphi IBC-Query in Threads (https://www.delphipraxis.net/144252-ibc-query-threads.html)

Neutral General 3. Dez 2009 10:41

Datenbank: Firebird • Version: 2.1 • Zugriff über: IBC

IBC-Query in Threads
 
Hi,

Ich versuche gerade in einem Thread eine TIBCQuery zu benutzen. Allerdings killts den Thread wenn man in der Datenmenge navigiert.
Weiß jmd. was die Ursache ist und wie man das beheben könnte?

Gruß
Neutral General

mkinzler 3. Dez 2009 10:46

Re: IBC-Query in Threads
 
Are the IBDAC connection components thread-safe?

Zitat:

Zitat von http://www.devart.com/ibdac/faq.html
Yes, IBDAC is thread-safe but there is a restriction. The same TIBCConnection object cannot be used in several threads. So if you have a multithreaded application, you should have a TIBCConnection object for each thread that uses IBDAC.


Neutral General 3. Dez 2009 10:47

Re: IBC-Query in Threads
 
Mh dachte ich mir schon :/

Nagut.. Dann muss ich etwas umbauen. Genau das war dann wohl das Problem...


Alle Zeitangaben in WEZ +1. Es ist jetzt 20:06 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