Re: [fpc-pascal] Java crash when fpc library CallVoidMethod in a thread.

2014-05-01 Thread Michael Van Canneyt
On Thu, 1 May 2014, fredvs wrote: Hello. When a java class use a fpc library that call jni.CallVoidMethod inside a thread it crash the application. If the fpc library call jni.CallVoidMethod directly (not via a thread) => perfect, it works. Is that a known problem ? Not known, but defini

[fpc-pascal] building Lazarus 09.28.2 with FPC 2.2.2 with no fppkg & lnet

2014-05-01 Thread KennyD
remove fppkg & lnet from fpc 2.2.2 sources cycle 2.2.2 FPC substitute << 2.2.4 fcl-image gtk2 into >> 2.2.2 cycle 2.2.2 FPC source and install in "Lazarus 09.28.2" 1 line with have too get commented out make clean all make install tested in linux-headers-3.13.0-19-generic Xubuntu look no bu

Re: [fpc-pascal] overloading function

2014-05-01 Thread Sven Barth
On 02.05.2014 07:45, LacaK wrote: Hi, I am trying understand how FPC determines which version of overloaded function to call. Take as example these 2 functions (from SysUtils): 1. function StrPLCopy(Dest: PChar; Source: string; MaxLen: SizeUInt): PChar; overload; 2. function StrPLCopy(Dest: PWide

[fpc-pascal] overloading function

2014-05-01 Thread LacaK
Hi, I am trying understand how FPC determines which version of overloaded function to call. Take as example these 2 functions (from SysUtils): 1. function StrPLCopy(Dest: PChar; Source: string; MaxLen: SizeUInt): PChar; overload; 2. function StrPLCopy(Dest: PWideChar; const Source: UnicodeStrin

[fpc-pascal] Java crash when fpc library CallVoidMethod in a thread.

2014-05-01 Thread fredvs
Hello. When a java class use a fpc library that call jni.CallVoidMethod inside a thread it crash the application. If the fpc library call jni.CallVoidMethod directly (not via a thread) => perfect, it works. Is that a known problem ? Maybe does it exist something else than jni.CallVoidMethod fo