Search found 19 matches
- 31.10.2011, 11:03
- Forum: 6.6 - stable
- Topic: ZeosDBO & multithreading safely
- Replies: 15
- Views: 5957
Thank You ! :-)))
Dear Mark, I must really say my best thank you for that kind of approach from you. I really appreciate your point of view. Your advice has just arrived at the very best time even possible !!! Two days before I started that procedure, cannot tell it momently, how long it will last. If you're interest...
- 29.09.2011, 11:39
- Forum: 6.6 - stable
- Topic: Permanent errors in 6.6.6 stable - MSSQL Server
- Replies: 1
- Views: 610
Permanent errors in 6.6.6 stable - MSSQL Server
Hello, I continuously receive various types of Exceptions all coming from TZDBLibMSSQL7PlainDriver.CheckError; mostly not derived down to any specific class, probably from the last line, but not always. I'm afraid the primary reason is the TODO comment at the beginning of the method. Can I expect th...
- 08.09.2011, 14:19
- Forum: 6.6 - stable
- Topic: ZeosDBO & multithreading safely
- Replies: 15
- Views: 5957
Solved, but not flawlessly
The following addition to MyZQuery solved the original problem. TMyZQuery = class(TZQuery) private procedure BeforeOpenHandler(DataSet: TDataSet); public constructor Create(AOwner: TComponent); override; procedure ExecSQL; override; procedure Open; // <- ADDED SOLUTION end; procedure TMyZQuery.Open;...
- 02.09.2011, 08:44
- Forum: 6.6 - stable
- Topic: ZeosDBO & multithreading safely
- Replies: 15
- Views: 5957
If you send me your program source My program is the intellectual property of my company. I'd need their permission to do that in a whole. But it's only an excuse, the real reason I'm not doing so is this wouldn't be workmanlike anyway, it would show me as being vocationally incompetent. Yesterday ...
- 02.09.2011, 07:31
- Forum: 6.6 - stable
- Topic: ZeosDBO & multithreading safely
- Replies: 15
- Views: 5957
No.Wild_Pointer wrote:is procedure TGPRSConn.FTPLoadCommands; executed from other than main thread ?
Do you want to see the threads full code (~5 pages in 1280x1024) ?
All 4 threads have same code, same class, but 4 instances created with different parameters.
There's no FTPLoadCommands; call in that code.
- 02.09.2011, 06:34
- Forum: 6.6 - stable
- Topic: ZeosDBO & multithreading safely
- Replies: 15
- Views: 5957
It is very hard to find what is wrong when the program crashes once a week. Right. :x I have 20 different error log files, I created inspection points in code and write them out. See the last FileLog() call in the next code. try //Query:=ZQuery.Create(MainModule); //with ZQuery.Create(MainModule) d...
- 01.09.2011, 17:32
- Forum: 6.6 - stable
- Topic: ZeosDBO & multithreading safely
- Replies: 15
- Views: 5957
Re: Should I upgrade to 7.x ?
Hi, I'm on localhost. I'm sure you will succeed. Just see one more time if no connection object is used from 2 threads. No, I have separate 'dynamic' ZConnection objects created and connected in each thread before entering the main loops (I have 4 threads btw), all has only 1 instance of ZQuery usin...
- 01.09.2011, 12:34
- Forum: 6.6 - stable
- Topic: ZeosDBO & multithreading safely
- Replies: 15
- Views: 5957
Should I upgrade to 7.x ?
Hi Wild_Pointer, So you say that Zeos 6.x.x is completely incompatible with multithreading, but 7.x is ? You say this function is implemented in versions 7.x above ? Am I understanding it right ? Well, I have decided to DO multithreading in my app, even if I found it's not possible with Zeos anyway....
- 30.08.2011, 15:24
- Forum: 6.6 - stable
- Topic: ZeosDBO & multithreading safely
- Replies: 15
- Views: 5957
ZeosDBO & multithreading safely
Hello Zeos Folks, I want to know the community's general opinion about ZeosDBO (6.6.6 stable) and multiple threads. I have several threads each with its own ZConnection and ZQuery created dynamically, and have static ZConnection and ZQuery components put on the main form also. After several hours of...
- 18.08.2010, 12:40
- Forum: 6.6 - stable
- Topic: absolute beginner and 'row data is not available' error mess
- Replies: 2
- Views: 837
- 04.08.2010, 13:49
- Forum: MS SQL Server
- Topic: Connection to SQL server compact
- Replies: 2
- Views: 2614
- 26.07.2010, 16:24
- Forum: MS SQL Server
- Topic: Connection to SQL server compact
- Replies: 2
- Views: 2614
Connection to SQL server compact
SQL server compact has a file ext of .sdf.
Is Zeos able to read&write this format ?
A simple but serious yes or no would be enough.
Thanks.
Is Zeos able to read&write this format ?
A simple but serious yes or no would be enough.
Thanks.
- 30.04.2010, 13:23
- Forum: 6.6 - stable
- Topic: TZQuery events - when they're running ?
- Replies: 7
- Views: 867
Conversion ? Sorry, but I must contradict that. I give the SQL statement as a string. SQL server accepts the statement as a string. There's no need for Zeos to convert anything. Zeos is not in the position to be able to convert. What you probably point occurs inside the database server, but that pla...
- 29.04.2010, 22:18
- Forum: 6.6 - stable
- Topic: TZQuery events - when they're running ?
- Replies: 7
- Views: 867
[font=Courier New] TMyZQuery = class(TZQuery) private procedure BeforeOpenHandler(DataSet: TDataSet); public constructor Create(AOwner: TComponent); override; procedure ExecSQL; override; end; procedure TMyZQuery.ExecSQL; begin if Assigned(BeforeOpen) then BeforeOpen(Self); inherited ExecSQL; end;[...
- 28.04.2010, 17:49
- Forum: 6.6 - stable
- Topic: TZQuery events - when they're running ?
- Replies: 7
- Views: 867