Search found 13 matches

by skydvrz
04.03.2010, 16:58
Forum: ZeosLib 7.0 Beta Forum
Topic: Can't call locate() using a UInt64 key value
Replies: 2
Views: 456

Thanks Mark!
by skydvrz
01.03.2010, 17:29
Forum: ZeosLib 7.0 Beta Forum
Topic: Can't call locate() using a UInt64 key value
Replies: 2
Views: 456

Can't call locate() using a UInt64 key value

This code never finds the requested record, even if the record exists: PROCEDURE TMainForm.ActivateOffender(OID : UInt64); BEGIN ejDM.dsOffender.DataSet.Locate('id', OID, []); END; The reason is that ZVariant has no case for UInt64 values. It can handle In64 though. I modified DecodeVariant like so,...
by skydvrz
24.07.2009, 23:30
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] TZSQLMonitor logs using WideChar on D2009?
Replies: 4
Views: 600

You I hope you wanted to say 'We still need to fix the memory leaks'? :oops: I'll look at it when I get a chance, but my first impression was that there are some fundamental design issues causing the leaks. Any fix would be fairly invasive and likely to break other stuff. I'll try to devote some ti...
by skydvrz
12.07.2009, 02:50
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] TZSQLMonitor logs using WideChar on D2009?
Replies: 4
Views: 600

Glad I could help. 7.0 Alpha is working pretty well for me on D2009 - when do you think it will go beta?

You still need to fix the memory leaks :-)
by skydvrz
27.06.2009, 02:33
Forum: ZeosLib 7.0 Beta Forum
Topic: Delphi 2009 Unicode problem
Replies: 7
Views: 1447

Re: Delphi 2009 Unicode problem

in D2009 there is a problem with character coding. I had similar problems with porting my application from D2007 to D2009 using ZeosLib 7.0 Alpha. My old D2007 code used field definitions something like this: quEventAgencies: TZQuery; quEventAgenciesagency: TStringField; quEventAgenciesaddr1: TStri...
by skydvrz
24.06.2009, 01:57
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] TZSQLMonitor logs using WideChar on D2009?
Replies: 4
Views: 600

[patch_done] TZSQLMonitor logs using WideChar on D2009?

My SQL debug log lines L o o k s l i k e t h i s . a n d a r e v e r y h a r d t o r e a d! :shock: There are also no valid CRLF end-of-lines in the text file, so all log lines are in one big hairy gob of nasty looking text. I think the TZSQLMonitor.SaveToFile method needs to be "AnsiFied"...
by skydvrz
13.02.2009, 19:20
Forum: ZeosLib 7.0 Beta Forum
Topic: Memory leaks
Replies: 6
Views: 1081

skydvrz , Your conclusion about freeing the tokenizer in the TZAbstractDriver destructor seems right when looking at it quickly. Did you try that? mdaems I just played with it for a couple hours and it is more complex than I thought. If you have any TZAbstractRODatasets descendants in your app, the...
by skydvrz
13.02.2009, 02:58
Forum: ZeosLib 7.0 Beta Forum
Topic: Memory leaks
Replies: 6
Views: 1081

EurekaLog memory leak dumps show a stack trace, source code line number, leak count and amount of memory leaked for each unfreed memory block it finds. If you know the original source fairly well (ZeosLib), you can use the dump as a roadmap to find the leak and redesign the code to not do that anymo...
by skydvrz
12.02.2009, 03:34
Forum: ZeosLib 7.0 Beta Forum
Topic: Memory leaks
Replies: 6
Views: 1081

I am having the same problem as TheEdge on build 584. Everything works fine when using MySQL, but on application shut down I am missing close to a megabyte. I can provide EurekaLog dumps of the memory leaks, but I'd prefer to not post them publicly. I am running D2007 here. Let me know if you want t...
by skydvrz
31.12.2008, 18:35
Forum: MySQL
Topic: MySQL Server has gone away
Replies: 2
Views: 1400

I do something similar to mdaems, only I make it a little more useful. Instead of a simple ping, I attempt to update a "sessions" table with the IP, hostname, login name, time of day at the server, version number, Etc. of the user. I have the sessions table update method activate on a 30 s...
by skydvrz
13.12.2008, 17:04
Forum: 6.6 - stable
Topic: ZeosLib 6.6.3 in Delphi 2009 Trial
Replies: 4
Views: 1138

Hello denilsonass ! There's not solution yet. We're working to get it running ;) Any progress on D2009 compatibility? I'd rather not wait until v7 I am looking at patching it myself, but I have no experience with upgrading strings to D2009. I am afraid I might break something :) TIA! Kevin
by skydvrz
12.12.2008, 19:22
Forum: Firebird
Topic: TZTable to read fewer records at a time
Replies: 5
Views: 1022

Re: TZTable to read fewer records at a time

My customer says he has over 2,000 contacts in his contacts table. Is there a way in Delphi to tell the TZtable to only read a few hundred records at a time to display in the DBGrid, and when the user scrolls down it will ask the TZTable to read the next few hundred? I used to use ZTables for my DB...
by skydvrz
22.07.2008, 18:31
Forum: PostgreSQL
Topic: What is the latest version of Zeos library?
Replies: 4
Views: 1032

And just to be complete : the 6.6.3 version is coming very soon and will be named stable. So : current trunk snapshot is what you're looking for. Are there any major or interesing changes in the new release? I am using Zeos in all my major projects. Very nice components BTW - thanks for the hard wo...