Re: [fpc-pascal] replacement of MemAvail and MaxAvail

2014-05-31 Thread Mark Morgan Lloyd
On 30/05/2014 11:00, mokashe.ram wrote: Thanks For Your This Prompt Reply... but in promgram these functions are already used in my applcation developed in TP7, sonow i am migration this applcation to free pascal. how can i replace using free pascal? Don't. In the larger scale of things,

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

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 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 differs from Delphi's. In FPC's TPropInfo the PropType field is PTypeInfo whereas in

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 pascaldra...@googlemail.com mailto:pascaldra...@googlemail.com: On 31.05.2014 05 tel:31.05.2014%2005:53, Kenneth Cochran wrote: I'm attempting to port GExperts from Delphi to Lazaurus and

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 is).

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

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 a queue that

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 :) :

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, to

[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