Re: [fpc-pascal] Typinfo incompatibilities between FPC and Delphi

2014-05-31 Thread Sven Barth
On 31.05.2014 05:53, Kenneth Cochran wrote: I'm attempting to port GExperts from Delphi to Lazaurus and noticed the definition of TPropInfo differs from Delphi's. In FPC's TPropInfo the PropType field is PTypeInfo whereas in Delphi it is PPTypeInfo. I'm not sure what is actually gained by this e

Re: [fpc-pascal] Typinfo incompatibilities between FPC and Delphi

2014-05-31 Thread Vincent Snijders
2014-05-31 11:48 GMT+02:00 Sven Barth : > On 31.05.2014 05:53, Kenneth Cochran wrote: > >> I'm attempting to port GExperts from Delphi to Lazaurus and noticed the >> definition of TPropInfo differs from Delphi's. >> >> In FPC's TPropInfo the PropType field is PTypeInfo whereas in Delphi it >> is P

Re: [fpc-pascal] Typinfo incompatibilities between FPC and Delphi

2014-05-31 Thread Sven Barth
On 31.05.2014 11:57, Vincent Snijders wrote: 2014-05-31 11:48 GMT+02:00 Sven Barth mailto:pascaldra...@googlemail.com>>: On 31.05.2014 05 :53, Kenneth Cochran wrote: I'm attempting to port GExperts from Delphi to Lazaurus and noticed the definition of TPropInfo di

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

2014-05-31 Thread fredvs
>> The question here is: where did you type it? Inside the loop in thread, after each queue()... and also just before end of thread. >> the next thing to go for, is probably be to try to get this >>`CheckSynchronize;` integrated into java in a decent manner >> (applicable to most use cases, that

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

2014-05-31 Thread Sven Barth
On 31.05.2014 12:10, fredvs wrote: The question here is: where did you type it? Inside the loop in thread, after each queue()... and also just before end of thread. *That* does not help. Queue put's the method pointer you provide into a queue that needs to be read by the *main thread*. It *wi

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

2014-05-31 Thread Ewald
On 05/31/2014 12:38 PM, Sven Barth wrote: > On 31.05.2014 12:10, fredvs wrote: The question here is: where did you type it? >> Inside the loop in thread, after each queue()... and also just before >> end of >> thread. > > *That* does not help. Queue put's the method pointer you provide into >

Re: [fpc-pascal] Typinfo incompatibilities between FPC and Delphi

2014-05-31 Thread Maciej Izak
> > In FPC's TPropInfo the PropType field is PTypeInfo whereas in Delphi it is > PPTypeInfo. I'm not sure what is actually gained by this extra level of > indirection but it exists none the less. > > By Barry Kelly in comment :) : http://stackoverflow.com/questions/3443097/what-is-the-identity-poi

Re: [fpc-pascal] Typinfo incompatibilities between FPC and Delphi

2014-05-31 Thread Marco van de Voort
In our previous episode, Maciej Izak said: > By Barry Kelly in comment :) : > > http://stackoverflow.com/questions/3443097/what-is-the-identity-pointer-before-a-ttypeinfo-there-for > > "all typeinfo fixups - pointers from one blob of typeinfo to another - are > of type PPTypeInfo, not PTypeInfo,

[fpc-pascal] Database Metadata proposal

2014-05-31 Thread Daniel Gaspary
Hi. In December 2012, this[1] thread has brought some ideas about Database metadata, in special the retrieving of Schema names. This[2] wiki page summarizes what was discussed. Some further conclusion after that thread? I agree that using Information schema, wherever is supported, is t