Search found 95 matches

by marcov
14.09.2010, 05:17
Forum: ZeosLib 7.0 Beta Forum
Topic: Zeos 7 Alpha and Delphi 2009 Support - Official Thread
Replies: 97
Views: 28196

Download the source via SVN. (via zeos.firmos.at) and start testing

A special registration is not necessary.
by marcov
11.09.2010, 22:43
Forum: ZeosLib 7.0 Beta Forum
Topic: Character problem using postgre
Replies: 6
Views: 1330

A few hours debugging down the line, I'm not so sure this is a bug . Rather an unexpected sideeffect of changing encoding on the connection I noticed that the dbmemo field is ansistring based, also in D2009. One needs a dbwidememo for unicode. So I deleted the tdbmemo, and reimported the field from ...
by marcov
11.09.2010, 14:50
Forum: ZeosLib 7.0 Beta Forum
Topic: Character problem using postgre
Replies: 6
Views: 1330

marcov , Using trunk isn't that bad idea. Certainly not for experienced fpc + SVN users as you are. However, it's not sure your issue will be fixed there. I've set up a way to easily test with trunk (on a different machine). The trouble is that I don't know my way in the DB parts of the VCL, so I c...
by marcov
09.09.2010, 15:35
Forum: ZeosLib 7.0 Beta Forum
Topic: zeos.inc and versioning
Replies: 2
Views: 322

zeos.inc and versioning

I noticed that Zeos stil uses versions (150below) etc to steer condiitional code. This can be a bit clumsy specially with two different version hierarchies (FPC's and Delphi's). It can be easier to move to a capability based system as described in this document: http://www.stack.nl/~marcov/porting.p...
by marcov
31.08.2010, 10:23
Forum: Documentations
Topic: fpdoc
Replies: 2
Views: 2294

mdaems wrote:marcov,
I did have a look, but the existing comments were already in the code before I even had a look at the zeoslib project. How easy would a migration to fpdoc format be?
I'll ask the fpdoc original author, and have a deeper look at the sources.
by marcov
31.08.2010, 10:00
Forum: ADO
Topic: Lazarus, Zeos and Ms Access (mdb)
Replies: 24
Views: 19162

marcov , Attached you'll find the 'minimal' part of OleDB that should be available when compiling zeoslib with ado support in Lazarus (doing this on windows). Attention : this file is coming from another thread in this forum (http://zeos.firmos.at/viewtopic.php?t=2702) and is in my opinion not lega...
by marcov
18.08.2010, 15:47
Forum: ZeosLib 7.0 Beta Forum
Topic: Character problem using postgre
Replies: 6
Views: 1330

I did this too, but then get exceptions on startup that the tdbmemo fields should then be of type "ftwidememo". If I change that, the memos are not correctly fills (it looks like opening UTF-16 text with a ascii only editor, iow like T H I S I S T E X T ) Does sb recognize this? Is it corr...
by marcov
28.07.2010, 14:52
Forum: 6.6 - stable
Topic: Having trouble connecting to MySQL 5.1 Server
Replies: 3
Views: 747

I think you also need mysql-dev or something similar. It provides the symlink for development.

If that doesn't solve it, it would be helpful to see what .so files exist in /usr/lib/mysql

Another thing you could try is set LD_LIBRARY_PATH to that dir.
by marcov
12.07.2010, 11:24
Forum: 6.6 - stable
Topic: Libraries for lipq.dll and libpq81.dll cannot be found
Replies: 8
Views: 5182

Try to put them in the path, specially for the IDE this could matter, because the working dir of the IDE is not very well defined under Delphi. Under Lazarus it is compiletime and runtime defined to be the place where the .exe ends up, and afaik undefined otherwise. I took the dlls from pgadmin3 ins...
by marcov
09.07.2010, 08:01
Forum: PostgreSQL
Topic: Correct way to insert into two tables (in TZUpdateS
Replies: 4
Views: 1813

Wild Pointer: thanks that was the kind info I was looking for.

IOW make sure the transaction regime is sane, and it will be ok.
by marcov
08.07.2010, 21:01
Forum: PostgreSQL
Topic: Correct way to insert into two tables (in TZUpdateS
Replies: 4
Views: 1813

Yes, I found that, and understand that could be a manual way?

But how to use that returned "id" in the next statement in a TZUpdatesql insertsql. block ?

If not I assume the logical solution would be to make a stored procedure for this?
by marcov
08.07.2010, 20:36
Forum: Firebird
Topic: INSERT with RETURNING
Replies: 30
Views: 15072

Note that 2.2.2 is nearly 2 years old (in august). If you suspect a problem in FPC, better test with a recent version first, before spending too much time on it.
by marcov
07.07.2010, 10:29
Forum: PostgreSQL
Topic: Correct way to insert into two tables (in TZUpdateS
Replies: 4
Views: 1813

Correct way to insert into two tables (in TZUpdateS

(postgres 8, zeos 7,D2009) I've a m x n relation between table A and B, and for this I use a table AB that contains references to both. Now, for a certain tuple in A, I need to add a relation to B, so I need to insert an item into B and AB. So I do insert into B (datafield1,datafield2) values (value...
by marcov
04.07.2010, 13:17
Forum: ADO
Topic: Lazarus, Zeos and Ms Access (mdb)
Replies: 24
Views: 19162

Mdaems: does Zeos only need ADO headers translated (and if so, which ones?), or do the relevant Delphi units also contain e.g. tdataset implementations for ADO? I can do the first (but due the size it will take a while), but I don't know much about db components, so can't try to build something equi...
by marcov
04.07.2010, 12:35
Forum: User Contributions
Topic: New samples with Zeos.
Replies: 6
Views: 4793

Silvio, the examples are very nice

Unfortunately, I tested the old version (so could run them, just had to study them).

I'll try to test them with a postgres setup the coming days.