Search found 13 matches

by JohnML1
03.05.2018, 09:50
Forum: Lazarus / Freepascal
Topic: Component boolean property not restored in Object-Inspector
Replies: 1
Views: 1723

Component boolean property not restored in Object-Inspector

don't know if this issue is ZeosLib or FPC related: ZConnection.AutoEncodeStrings set to true ZConnection.Properties shows: AutoEncodeStrings=ON codepage=WE8ISO8859P15 controls_cp=CP_UTF8 save and restart Lazarus, reopen the project: AutoEncodeStrings in Object-Inspector is now false, despite the se...
by JohnML1
26.04.2018, 17:35
Forum: Lazarus / Freepascal
Topic: Bug compiling Zcomponent Linux
Replies: 11
Views: 2584

Re: Bug compiling Zcomponent Linux

what i learned for lazarus:

start it with new configuration:

./lazarus --pcp=~/.lazarus2

... should(!) forget old installed packages this way?!!
by JohnML1
25.04.2018, 19:22
Forum: Lazarus / Freepascal
Topic: Bug compiling Zcomponent Linux
Replies: 11
Views: 2584

Re: Bug compiling Zcomponent Linux

now its ok compiling for Linux :-) I used zeosdbo-7.2.4-stable.zip AND a fresh lazarus. My first try leads to the situation that lazarus uses old uninstalled(!!) ZeosLib units despite the different Version Number of the package! Lazarus is rather "tricky" sometimes. Conclusion: Zeosdbo 7.2...
by JohnML1
25.04.2018, 14:13
Forum: Lazarus / Freepascal
Topic: Bug compiling Zcomponent Linux
Replies: 11
Views: 2584

Re: Bug compiling Zcomponent Linux

even if i try
zeosdbo-7.2.4-stable.zip

i get the known error as shown in screen picture!
by JohnML1
24.04.2018, 20:04
Forum: Lazarus / Freepascal
Topic: Bug compiling Zcomponent Linux
Replies: 11
Views: 2584

Re: Bug compiling Zcomponent Linux

sorry, i used trunk

RapidSVN tells me: svn://svn.code.sf.net/p/zeoslib/code-0/trunk

***************************

does gmail "eat" Email Notifications?!!
by JohnML1
23.04.2018, 15:04
Forum: Lazarus / Freepascal
Topic: Bug compiling Zcomponent Linux
Replies: 11
Views: 2584

Bug compiling Zcomponent Linux

ZeosLib: SVN Revision 4513 error: ZSysUtils.pas(664,10) Error: Forward declaration not solved "SQLQuotedStr(PChar;LongInt;Char;Char):AnsiString;" Line 664: function SQLQuotedStr(Src: PChar; Len: Integer; QuoteLeft, QuoteRight: Char): string; overload; Info: Lazarus 1.9.0 r57658 FPC 3.0.0 x...
by JohnML1
03.08.2017, 12:24
Forum: Oracle
Topic: Oracle and Windows XP
Replies: 0
Views: 3382

Oracle and Windows XP

Tipp:

.. took me some time to realize:

If you get error ora-01406 executing a ZQuery, adjust ZConnection with

AutoEncodeStrings := true;
ClientCodePage := WE8ISO8859P15

Location: Germany
OS Windows XP Sp3

.. happy again :-)

thats also true for trouble with german Umlauts ä ö ü ß
by JohnML1
12.07.2017, 09:16
Forum: Oracle
Topic: [solved] Connect Oracle DB from Linux
Replies: 9
Views: 3650

Re: Connect Oracle DB from Linux

Thank you, i think my first post-question has an answer: A) I need oracle client installed to connect from Linux a Win Oracle Database! B) I have to start my application from within a bash script where: export LD_LIBRARY_PATH is defined pointing to the lib-directory of installed Oracle Client. #! /b...
by JohnML1
11.07.2017, 09:55
Forum: Oracle
Topic: [solved] Connect Oracle DB from Linux
Replies: 9
Views: 3650

Re: Connect Oracle DB from Linux

i looked again in Oracle docs: it shows me about LD_LIBRARY_PATH: See http://tinyurl.com/yd9o36fp 4. Install the libaio package, for example on Oracle Linux, run this as the root user: yum install libaio On some Linux distributions the package is called libaio1. 5. Set the environment variable LD_LI...
by JohnML1
10.07.2017, 13:46
Forum: Oracle
Topic: [solved] Connect Oracle DB from Linux
Replies: 9
Views: 3650

Re: Connect Oracle DB from Linux

But I have one question: Do things work if you use the LibraryLocation property of the ZConnection without setting LD_LIBRARY_PATH? /usr/lib/oracle/... seems to be a non standrd path so the linker is expected to have trouble. I wonder, how the Lazarus SQL components handle these things... Sorry, fo...
by JohnML1
04.07.2017, 10:28
Forum: Oracle
Topic: [solved] Connect Oracle DB from Linux
Replies: 9
Views: 3650

Re: Connect Oracle DB from Linux

Hi marsupilami,

just curious ...

Did you manage to set up your Test environment?
by JohnML1
09.06.2017, 15:38
Forum: Oracle
Topic: [solved] Connect Oracle DB from Linux
Replies: 9
Views: 3650

Re: Connect Oracle DB from Linux

thank you for your quick answer: I'm no expert at all but TortoiseSVN tells me: Merged revision(s) 3951-3974 from branches/testing-7.2: Fixes a bug in the PostgreSQL driver that keeps it from changing transaction isolation... fix for https://sourceforge.net/p/zeoslib/tickets/183/ fix for https://sou...
by JohnML1
08.06.2017, 18:51
Forum: Oracle
Topic: [solved] Connect Oracle DB from Linux
Replies: 9
Views: 3650

[solved] Connect Oracle DB from Linux

do i have to go this way??? Development with Lazarus svn and Zeoslib svn. Oracle Database runs on Windows Server and i want to connect from a linux Debian Client: The only functional effort was: Download and install Oracle Client. Setup ZConnection.LibraryPath Startup my Application from within a sh...