Search found 775 matches

by aehimself
16.04.2020, 12:40
Forum: ZeosLib 7.3/8.0 Forum
Topic: TWideStringField.AsBytes malfunction
Replies: 2
Views: 103

TWideStringField.AsBytes malfunction

Hello,

I pushed a pull request on Github with a fix for TWideStringField.AsBytes truncating the result at the first special character. TZAbstractRODataset.WideStringGetterFromRaw called PRaw2PUnicode with the wrong parameter order.

Please accept and merge :)
by aehimself
20.02.2020, 10:25
Forum: ZeosLib 7.3/8.0 Forum
Topic: List of connection properties?
Replies: 36
Views: 2569

Re: List of connection properties?

Modified my solution to use in-line editors so it's not depending on my application anymore. It does not look pretty because ComboBox simply ignores the height I want it to have. I also added the ImportFrom and an ExportTo methods so it should be able to read and write a ZConnection.Properties strin...
by aehimself
20.02.2020, 08:32
Forum: ZeosLib 7.3/8.0 Forum
Topic: List of connection properties?
Replies: 36
Views: 2569

Re: List of connection properties?

Sorry, in this case I misunderstood your comment. I thought it's the other way around (to move them from the centralized location to the individual units). My bad. As for the proposal for the properties tbh I don't like the idea of allowing the user to change the underlying String data. Even if it's...
by aehimself
19.02.2020, 20:53
Forum: ZeosLib 7.3/8.0 Forum
Topic: List of connection properties?
Replies: 36
Views: 2569

Re: List of connection properties?

Ughhh... so instead of 2 units I'll have to import... 10 :D Well then, I'll wait until your commit appears in Git; seems there's no purpose for me to proceed for the time being. P.s.: I started to add URL links, so when I click on the "status bar" it'll redirect me to the page explaining d...
by aehimself
19.02.2020, 12:08
Forum: ZeosLib 7.3/8.0 Forum
Topic: List of connection properties?
Replies: 36
Views: 2569

Re: List of connection properties?

This is something I wanted to achieve: connprop_1.PNG - Only valid parameters are visible for the specific connection - Description is displayed about the selected parameter - Upon editing only valid values can be entered / selected My solution is a bit customized (depending on other modules of the ...
by aehimself
17.02.2020, 21:35
Forum: ZeosLib 7.2 Forum
Topic: Out of memory with large count of records with BLOBs
Replies: 4
Views: 359

Re: Out of memory with large count of records with BLOBs

I am using Zeos to fetch 10k+ records with XMLs stored as BLOBs, with often being 14MB+ each without memory issues. I'm compiling 64bit apps, though.
by aehimself
10.02.2020, 19:14
Forum: ZeosLib 7.3/8.0 Forum
Topic: List of connection properties?
Replies: 36
Views: 2569

Re: List of connection properties?

I did not disappear, only extremely busy at work and out-of-work too (my private application started to show some unexpected bugs which needed a refactoring of several elements, doh). When I'm not busy the kid is draining my energy SO bad I don't even have the mood to clean the house a little bit......
by aehimself
12.01.2020, 09:26
Forum: ZeosLib 7.3/8.0 Forum
Topic: List of connection properties?
Replies: 36
Views: 2569

Re: List of connection properties?

Reasonable wish! But you'll have to define a set of available options anyway (to restrict users from doing something bad) so you'll just need proper descriptions for these options. Indeed, that is exactly my plan. Collect the options, and look up the explainations. Based on those I'll choose which ...
by aehimself
10.01.2020, 09:19
Forum: ZeosLib 7.3/8.0 Forum
Topic: List of connection properties?
Replies: 36
Views: 2569

Re: List of connection properties?

Long story short, I have an application which allows users to set connection parameters. I do not trust users so I would like my application to offer the possibilities so the user can only choose. To be able to do that I need the list; which I will make if there's none. At the end of the day if I sa...
by aehimself
09.01.2020, 21:50
Forum: ZeosLib 7.3/8.0 Forum
Topic: Brainstorming about ClientCodePage
Replies: 3
Views: 210

Re: Brainstorming about ClientCodePage

@Frost, am I right to assume that you just confirmed my thought? In the above scenario - unless some unauthorized data modification happen - it must always work as planned? And finally I did not overlook anything? :D
by aehimself
09.01.2020, 11:43
Forum: ZeosLib 7.3/8.0 Forum
Topic: List of connection properties?
Replies: 36
Views: 2569

Re: List of connection properties?

Weird conclusion - there IS a list at the moment! Above-mentioned files contain pretty much generic parameters. Any other ones are driver-specific and are defined in ZPlain*Constants units. My apologies - I meant a list for lazy people (like me :D) who don't want to dig through all source files to ...
by aehimself
09.01.2020, 08:25
Forum: ZeosLib 7.3/8.0 Forum
Topic: Brainstorming about ClientCodePage
Replies: 3
Views: 210

Brainstorming about ClientCodePage

Yesterday when I was travelling home from work I started to think. ClientCodePage defines in what encoding strings arrive from the database (which at the end gets converted to Unicode). This is clear until now. Let's say I have an application to store books, accessing the data with ZQuery.FieldByNam...
by aehimself
02.01.2020, 19:28
Forum: ZeosLib 7.3/8.0 Forum
Topic: List of connection properties?
Replies: 36
Views: 2569

Re: List of connection properties?

Aaaaand happy new year to you and all the devs of Zeos! Hope it was better for you guys than for me (3mo kid & a dog, none of them are a fan of fireworks...) :D So there's no list for it at the moment - that's what I thought. I just did a search for "Info.Values" in all source files an...
by aehimself
01.01.2020, 20:27
Forum: SQLite
Topic: Database is locked error upon calling TZQuery.Refresh
Replies: 0
Views: 779

Database is locked error upon calling TZQuery.Refresh

I'm currently using the latest available 3.30.1 SQLite.dll to connect to an SQLite database from a multi-threaded 32 bit app via the latest Zeos 7.3 (git) commit. Each thread has it's own connection and one table is explicitly used by one thread at a time. All seems to be fine until I change a filte...
by aehimself
31.12.2019, 22:21
Forum: ZeosLib 7.3/8.0 Forum
Topic: List of connection properties?
Replies: 36
Views: 2569

List of connection properties?

I started to collect all valid switches you can set on a TZConnection.Properties. Before I am digging myself deep inside this - is there a list about this? Separated by libraries, of course.

Cheers!