[firebird-support] Connecting to FB 1.5.5 with 3.0.1 lib

2018-04-19 Thread Lukas Gradl fireb...@ssn.at [firebird-support]
Hi! I work from a debian linux machine having installen the 3.0.1 client libs from the repository and flamerobin from the repository. One of the machines I have to connect to regularily runs 1.5.5 on debian linux. Since upgrading the client to version 3 I can't connect anymore - I get a

[firebird-support] Re: No reconnection with fbclient 3.03 when network is lost

2018-04-19 Thread eric.gueguin...@gmail.com [firebird-support]
I solved my problem, in fact it was a bug in Devart DBExpress driver You can closed this topic Thanks

Re: [firebird-support] Write UDF for 3.0 - Linux 64bit vs Windows 32bit

2018-04-19 Thread liviuslivius liviusliv...@poczta.onet.pl [firebird-support]
Hi, I do not work with linux buDid you compiled it as 64bit? And is your Firebird server 64bit? Regards,Karol Bieniaszewski null

Re: [firebird-support] Write UDF for 3.0 - Linux 64bit vs Windows 32bit

2018-04-19 Thread Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
19.04.2018 15:34, Gabor Boros mlngl...@bgss.hu [firebird-support] wrote: > I found it! :-) Works on Linux too if "... MODULE_NAME > '/opt/firebird/UDF/MY_UDF';" It means that in your firebird.conf you have "UDFAccess = Full" which is not default and a very bad idea from security POV. --

Re: [firebird-support] Write UDF for 3.0 - Linux 64bit vs Windows 32bit

2018-04-19 Thread Gabor Boros mlngl...@bgss.hu [firebird-support]
2018. 04. 19. 13:23 keltezéssel, Dimitry Sibiryakov s...@ibphoenix.com [firebird-support] írta: > 19.04.2018 13:16, Gabor Boros mlngl...@bgss.hu [firebird-support] wrote: >> What I am doing wrong? > > Your function does not match its definition: "RETURNS PARAMETER 1" is not > what you

[firebird-support] No reconnexion with fbclient FB3

2018-04-19 Thread eric.gueguin...@gmail.com [firebird-support]
Hello, My program can't reconnect to server FB when network was lost. I made some tests and it happends only when I use fbclient.dll FB3 My program is write in Delphi XE5 and I use DBExpres Devart to connect the database. My setting : WIN10 Delphi XE5 FIrebird server 3.03 Devart

[firebird-support] No reconnection with fbclient 3.03 when network is lost

2018-04-19 Thread eric.gueguin...@gmail.com [firebird-support]
Hello, My program can't reconnect to server FB when network was lost. I made some tests and it happends only when I use fbclient.dll FB3 My program is write in Delphi XE5 and I use DBExpres Devart to connect the database. My settings : WIN10 Delphi XE5 FIrebird server

Re: [firebird-support] Write UDF for 3.0 - Linux 64bit vs Windows 32bit

2018-04-19 Thread Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
19.04.2018 13:16, Gabor Boros mlngl...@bgss.hu [firebird-support] wrote: > What I am doing wrong? Your function does not match its definition: "RETURNS PARAMETER 1" is not what you think. Use nm to check that TEST_UDF is really exported (remember about case sensitivity) and library is

[firebird-support] Write UDF for 3.0 - Linux 64bit vs Windows 32bit

2018-04-19 Thread Gabor Boros mlngl...@bgss.hu [firebird-support]
Hi All, I use 3.0.3 SS on Linux 64bit and need to know the server's UTC timestamp. First started with a simple example UDF which written with FreePascal 3.0.4. See below. After many trying without success I realized my example works like a charm with Win32. (Just compiled with "fpc