I'm working through the demos and was having troubles with code 
completion/insight. I have managed to track the issue that I'm having to 
tiDialogs.dcu. If the DCU file exists [after every compile/run] it will 
break code completion/insight in any unit with tiDialogs in the uses 
clause. Loading any program that uses the utility will provide exactly the 
same results if the DCU exists. If I delete the DCU and then load any 
program that uses tiDialogs and all is well.

I eventually loaded tiDialogs.pas into one of the example projects and 
opened it. Error insight was indicating a problem with the WinProcs 
reference in;
   {$IFNDEF FPC}
   ,WinProcs
   {$ENDIF}
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.

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