Re: [Firebird-devel] UDF lib works on Linux but crash on Windows (Error writing data to connection)

2019-05-07 Thread Massimo Fazzolari
> It might help to tell us which compiler and linker flags you are > already using. Executable: C:\lazarus\fpc\3.0.4\bin\i386-win32\fpc.exe CurrentDirectory: C:\Users\sita\Documents\lazudf\production\UDF_UTF8\ Parameters: -B -Twin64 -Px86_64 -MObjFPC -Sch -Xs -l -vewnhibq -FiC:\Users\sita\Docum

Re: [Firebird-devel] UDF lib works on Linux but crash on Windows (Error writing data to connection)

2019-05-07 Thread Paul Reeves
On Tue, 7 May 2019 10:54:53 +0200 Massimo Fazzolari wrote: > Anybody could help me to figure out what's wrong with the > FPC 64bit compiler? Is there any compile/linker flag that I should > use? It might help to tell us which compiler and linker flags you are already using. Paul -- Paul Reev

Re: [Firebird-devel] UDF lib works on Linux but crash on Windows (Error writing data to connection)

2019-05-07 Thread Massimo Fazzolari
I tried to compile with FPC 3.0.4 for Win32 and it works. The problems occurs only on FPC 3.0.4 Win64. I edited the function to log to a file some debug text as first instruction of the function and it's not invoked, so I think on Win64 Firebird doesn't even make to call the UDF. Anybody could help