Search found 54 matches

by mariuszekpl
07.12.2008, 01:30
Forum: ZeosLib 7.0 Beta Forum
Topic: Zeos 7 Alpha and Delphi 2009 Support - Official Thread
Replies: 97
Views: 28845

tkyr look there:
http://zeos.firmos.at/viewtopic.php?t=2130
I write simple application zeos+firebird+unicode
by mariuszekpl
07.12.2008, 01:27
Forum: ZeosLib 7.0 Beta Forum
Topic: My code and sample application
Replies: 1
Views: 1015

Today i update firebird part of zeos and add simple application with unicode support
testing\test\delphi2009\firebird-zeos\myTestFirebirdUnicode.exe
by mariuszekpl
07.12.2008, 01:03
Forum: 6.6 - stable
Topic: Invalid Request BLR
Replies: 8
Views: 938

You should test your sql script with "EMS SQL MANAGER"
by mariuszekpl
06.12.2008, 20:44
Forum: 6.6 - stable
Topic: Invalid Request BLR
Replies: 8
Views: 938

Invalid Request BLR at offset 300 bad parameter number - it is error from firebird, may be you have error in your SQL?
by mariuszekpl
05.12.2008, 18:43
Forum: ZeosLib 7.0 Beta Forum
Topic: Zeos 7 Alpha and Delphi 2009 Support - Official Thread
Replies: 97
Views: 28845

1)zip all (project, database and dll witch you use to connect)
2)use http://www.rapidshare.com/ to upload file
3) write url at http://zeos.firmos.at/
by mariuszekpl
05.12.2008, 12:13
Forum: 6.6 - stable
Topic: Postgresql reception message from database
Replies: 4
Views: 615

can you publish sample application ?
You don't have EXCEPTION MESAGE ?
by mariuszekpl
05.12.2008, 12:10
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] About Unicode and TStringField
Replies: 12
Views: 1873

We have two roads: 1) Use one common TZStringField for Unicode and Ansi strings (like IBX) or 2) User can select what he want , if he has data with unicode he should inform ZEOS about it , and now zeos use internal UNICODE , if we want ANSI zeos internal use ANSI In my opinion first way is better, w...
by mariuszekpl
05.12.2008, 00:27
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] About Unicode and TStringField
Replies: 12
Views: 1873

I can't understund why TstringField.GetAsString return ansistring
but we can't use TstringField if we want add unicode suport.

In new delphi string == widestring we don't need two types: TstringField and TWideStringField

We can use common type for all string field.
by mariuszekpl
04.12.2008, 23:19
Forum: ZeosLib 7.0 Beta Forum
Topic: Zeos 7 Alpha and Delphi 2009 Support - Official Thread
Replies: 97
Views: 28845

tkyr - can you publish some code and database with utf8 data ?
My version zeos support unicode in sqlite and postgresql. Firebird is next :)
http://91.121.81.145/zeos/
there you can find my sample application and my zeos 7 code

tkyr - publish sample application, + database + dll
by mariuszekpl
03.12.2008, 12:17
Forum: ZeosLib 7.0 Beta Forum
Topic: [bug_fixed] TZTestSysUtilsCase.TestDebug
Replies: 1
Views: 445

[bug_fixed] TZTestSysUtilsCase.TestDebug

Seems like GetMem allocates using blocks of 8 bytes + 4 bytes extra at start procedure TZTestSysUtilsCase.TestDebug; var temp:Pointer; begin CheckEquals(True, debug_get_memorydiff>0); CheckEquals(0, debug_get_memorydiff); GetMem(Temp,5); FreeMem(Temp,5); CheckEquals(0, debug_get_memorydiff); GetMem(...
by mariuszekpl
03.12.2008, 12:14
Forum: ZeosLib 7.0 Beta Forum
Topic: [bug_fixed] debug_get_memorydiff
Replies: 1
Views: 389

[bug_fixed] debug_get_memorydiff

AllocMemsize don't work in Delphi 2009 AllocMemSize: Integer deprecated; {Unsupported} New version: {$IFDEF DELPHI12_UP} function ZeosAllocMemsize(): integer; var mManager: TMemoryManagerState; Bytes: Integer; I: Integer; begin Bytes :=0; GetMemoryManagerState(mManager); for I := 0 to High(mManager....
by mariuszekpl
01.12.2008, 22:41
Forum: ZeosLib 7.0 Beta Forum
Topic: My code and sample application
Replies: 1
Views: 1015

My code and sample application

I publish my version ZEOS and sample application to test unicode http://91.121.81.145/zeos/ Code is based on SVN version zeos. My sample application are in directory: testing\test\delphi2009\TestUnicode.exe - sqlite and postgresql testing\test\delphi2009\firebird-zeos\myTestFirebirdUnicode.exe - fir...
by mariuszekpl
30.11.2008, 19:27
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] CheckPostgreSQLError (add support unicode)
Replies: 5
Views: 751

[patch_done] CheckPostgreSQLError (add support unicode)

Is

Code: Select all

    ErrorMessage := Trim(StrPas(PlainDriver.GetErrorMessage(Handle)))
Should be

Code: Select all

 {$IFDEF ZEOS_FULL_UNICODE}
    ErrorMessage := Trim(UTF8ToUnicodeString(StrPas(PlainDriver.GetErrorMessage(Handle))))
 {$ELSE}
    ErrorMessage := Trim(StrPas(PlainDriver.GetErrorMessage(Handle)))
 {$ENDIF}
by mariuszekpl
28.11.2008, 23:58
Forum: ZeosLib 7.0 Beta Forum
Topic: [bug_fixed] BUG in TZPostgreSQLConnection.Open;
Replies: 1
Views: 530

[bug_fixed] BUG in TZPostgreSQLConnection.Open;

Error in generate SQL for SET CLIENT_ENCODING TO IS procedure TZPostgreSQLConnection.Open; var LogMessage: string; QueryHandle: PZPostgreSQLResult; SQL: PAnsiChar; begin if not Closed then Exit; LogMessage := Format('CONNECT TO "%s" AS USER "%s"', [Database, User]); { Connect to ...
by mariuszekpl
28.11.2008, 23:49
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] TZPostgreSQLResultSet.Open;
Replies: 1
Views: 411

[patch_done] TZPostgreSQLResultSet.Open;

Is procedure TZPostgreSQLResultSet.Open; ... ColumnLabel := StrPas(FPlainDriver.GetFieldName(FQueryHandle, I)); Should be procedure TZPostgreSQLResultSet.Open; ... {$IFDEF ZEOS_FULL_UNICODE} ColumnLabel := UTF8ToUnicodeString(StrPas(FPlainDriver.GetFieldName(FQueryHandle, I))); {$ELSE} ColumnLabel :...