Search found 58 matches

by markus
16.04.2012, 16:17
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] PostgreSQL + C++Builder 2010 Assigning Port
Replies: 17
Views: 2102

Hey Michael,
Sorry it took so long - i've been out of home for weekend.
Just checked with rev.1157
Everything seems to be ok:)

Thanks a lot for Your help.

Regards,
Marek
by markus
13.04.2012, 21:15
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] ZPgEventAlerter modification
Replies: 10
Views: 2297

[patch_done] ZPgEventAlerter modification

Hi, i've started playing with ZPgEventAlerter component. It works great - one thing is missing through: in psql notify command has two parameters: channel and payload (string literal). OnNotify event don't introduce this second parameter - only notification channel. And this additional data can be s...
by markus
13.04.2012, 19:08
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] PostgreSQL + C++Builder 2010 Assigning Port
Replies: 17
Views: 2102

i've found what caused problem with assigning port. It seems that SetPortA and SetPortW are definded in files included by vcl itself. So when i tired to use Zabstractdataset::SetPort indirectly - it was ambiguity. http://edn.embarcadero.com/article/20125 When i changed SetPort and GetPort to SetConn...
by markus
12.04.2012, 22:17
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] PostgreSQL + C++Builder 2010 Assigning Port
Replies: 17
Views: 2102

My old values are clearly readable in pgadmin

When i applied Your patch - it didn't changed anything. Text fields are still wrong.
by markus
12.04.2012, 21:50
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] PostgreSQL + C++Builder 2010 Assigning Port
Replies: 17
Views: 2102

No rush:)
Take your time and rest some time too...

We all owe You big THANKS for fighting with unicode in Zeos.

I'll do my best to help where i can too.

Best regards,
Marek
by markus
12.04.2012, 21:07
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] PostgreSQL + C++Builder 2010 Assigning Port
Replies: 17
Views: 2102

EgonHugeist wrote: So what happen's if you use Dataset->FieldbyName('opis').AsWideString?
It's the same.
CBuilder maps AsString and AsWideString both to UnicodeString type result.
by markus
12.04.2012, 19:34
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] PostgreSQL + C++Builder 2010 Assigning Port
Replies: 17
Views: 2102

I used psql 8.4 and later moved to 9.0 - both accessed with Zeos 7, but older revisions (903 is my latest). Everything worked ok. Today i looked more closely - only fields that cause trouble are text fields which are in fact blobs. Fields defined in db as varchar are displayed OK. Sorry for not desc...
by markus
11.04.2012, 21:57
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] Where is ZPlainMySql41.pas
Replies: 3
Views: 513

This file was deleted in delphi packages, but for CBuilder it was removed only from ZPlain.cpp and it's not enough - it should also be removed from ZPlain.cbproj Henk: when You open ZeosDbo project group locate ZPlain project find it's files and simply remove ZPlainMySql41.pas there. This will allow...
by markus
11.04.2012, 21:31
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] PostgreSQL + C++Builder 2010 Assigning Port
Replies: 17
Views: 2102

TForm constructor is just example of this issue. I'm using DataModule in my application, but problem is the same. I cannot pinpoint exact line of code that causes error, because it's linker error. When i compile Delphi packages to c+ builder *.hpp files are created automatically. But what is strange...
by markus
11.04.2012, 18:19
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] PostgreSQL + C++Builder 2010 Assigning Port
Replies: 17
Views: 2102

Yes i used latest svn revision (1143) I did these steps: 1. create Empty VCL project 2. Plate TZConnection component 3. in form constructor type: ZConnection->Port = 5432; it fails to do linking with errors from my previous post. When you set port in Object Inspector - everything is ok. Btw: i downl...
by markus
10.04.2012, 19:26
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] PostgreSQL + C++Builder 2010 Assigning Port
Replies: 17
Views: 2102

[patch_done] PostgreSQL + C++Builder 2010 Assigning Port

Hi, I've finally decided to switch to testing-egonhugeist branch. When i'm trying to assign Port of ZConnection in code: ZConnection1->Port = 5432; i get message [ILINK32 Error] Error: Unresolved external '__fastcall Zabstractconnection::TZAbstractConnection::SetPortW(const const int)' i thought it ...
by markus
17.10.2011, 18:26
Forum: User Patches
Topic: Table.Filter by date and time
Replies: 11
Views: 3818

You are saying that both Query input (SQL text) and output (result) are parsed by this function?

Shouldn't SQL text be passed to DB engine "as is", except for params parsing?
by markus
17.10.2011, 12:54
Forum: User Patches
Topic: Table.Filter by date and time
Replies: 11
Views: 3818

Hi, I've been using ZEOS in v 6.6.6 under C++Builder 5. Recently i've decided to switch to CB2010 and Zeos 7 (alpha). My Db is running on postgresql 8.3/8.4 In my queries i use quite complex field names: for example "item_id-unit_id" or "item_id-unit_id-index" - depending from ta...