Graeme,

>>On 10/04/2011 19:22, Dave Keighan wrote:
>>I looked it up, WinProcs to me, is not an exclude if FPC is defined - it
>>is a include if FPC is defined because Delphi no longer uses WinProcs, it
>>uses Windows.
>>
>>Changing the {$IFNDEF FPC} on line 12 in the unit to {$IFDEF FPC} seems to
>>solve the problem.
>
>
>I would suggest you report this as a Delphi bug to Embarcadero. The Free
>Pascal Compiler handles IFDEF and IFNDEF without problems - both are
>standard Object Pascal/Delphi language features.

Actually, from further reading I have the impression the no one uses 
WinProcs anymore so why it even exists in any tiOPF unit is now a total 
mystery to me.  I will be doing some additional digging into why including 
it in a Delphi unit allows the unit to compile but break code completion.

Thanks.
-- 
Dave Keighan aka TDelphiHobbyist
http://tdelphihobbyist.blogspot.com/


------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
tiOPF-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tiopf-talk

Reply via email to