On Wed, March 26, 2008 14:43, Marco van de Voort wrote:
On Wed, 26 Mar 2008, Graeme Geldenhuys wrote:
On 26/03/2008, Michael Van Canneyt [EMAIL PROTECTED] wrote:
Yes, use fully qualified names.
windows.tcriticalsection.
syncobjs.tcriticalsection.
Why doesn't Delphi
On 27/03/2008, Tomas Hajny [EMAIL PROTECTED] wrote:
Maybe we could mark the declaration in unit Windows deprecated and later
remove in 2.5.x (or whatever that becomes)?
I think this would be a good idea. It makes no sense having two
TCriticalSection definitions. Plus it's much harder to
On 27/03/2008, Marco van de Voort [EMAIL PROTECTED] wrote:
Yes and no, that would be the last resort solution yes, but I think here
direct Delphi compat _and_ platform independence should weigh heavier than a
misplaced backwards compability for which we have no indications.
So my final
Hi,
I've noticed this ages ago and found a work-around, but never reported
it. I hit the same error again today and thought this time I would
mention it.
In tiOPF we have some IFDEF's for the 'Windows' unit. Some units also
use the 'SyncObjs' unit for critical section handling. If 'SyncObjs'
On 26/03/2008, Michael Van Canneyt [EMAIL PROTECTED] wrote:
Yes, use fully qualified names.
windows.tcriticalsection.
syncobjs.tcriticalsection.
That should work
For lower level stuff, you should use TRTLCriticalSection, never
TCriticalSection.
It has the advantage of being
On Wed, 26 Mar 2008, Graeme Geldenhuys wrote:
Hi,
I've noticed this ages ago and found a work-around, but never reported
it. I hit the same error again today and thought this time I would
mention it.
In tiOPF we have some IFDEF's for the 'Windows' unit. Some units also
use the
On 26/03/2008, Michael Van Canneyt [EMAIL PROTECTED] wrote:
Yes, use fully qualified names.
windows.tcriticalsection.
syncobjs.tcriticalsection.
Why doesn't Delphi compiler complain about it? A quick search
revealed that Delphi's Windows.pas unit doesn't contain a
TCriticalSection type
On Wed, 26 Mar 2008, Graeme Geldenhuys wrote:
On 26/03/2008, Michael Van Canneyt [EMAIL PROTECTED] wrote:
Yes, use fully qualified names.
windows.tcriticalsection.
syncobjs.tcriticalsection.
Why doesn't Delphi compiler complain about it? A quick search
revealed that Delphi's
On 26/03/2008, Marco van de Voort [EMAIL PROTECTED] wrote:
Hmm, didn't older (6) versions simply have this, and did synobjs get
introduced later? In that case, if Delphi can break compat, so can we.
I think I still have my copy of Delphi 5 lying around. If I can find
it, I'll see if
On Wednesday 26 March 2008 08:51:53 Graeme Geldenhuys wrote:
On 26/03/2008, Marco van de Voort [EMAIL PROTECTED] wrote:
Hmm, didn't older (6) versions simply have this, and did synobjs get
introduced later? In that case, if Delphi can break compat, so can we.
I think I still have my copy
Marco van de Voort wrote:
On Wed, 26 Mar 2008, Graeme Geldenhuys wrote:
On 26/03/2008, Michael Van Canneyt [EMAIL PROTECTED] wrote:
Yes, use fully qualified names.
windows.tcriticalsection.
syncobjs.tcriticalsection.
Why doesn't Delphi compiler complain about it? A quick search
revealed
Graeme Geldenhuys wrote:
For lower level stuff, you should use TRTLCriticalSection, never
TCriticalSection.
It has the advantage of being portable.
I'm surprised you actually use the windows unit. That is Evil(tm).
The code in question is the tiOPF project which is shared with Delphi
On 26/03/2008, Joao Morais [EMAIL PROTECTED] wrote:
What about use uses Windows under ifndef fpc?
That will work for some units, but not all of them. Some units
reference things in Windows unit not related to Critical Section, but
I am definitely going to give this a try and see how far it
13 matches
Mail list logo