Delphi – wintypes.dcu not found and code completion stops working

delphidelphi-2009

I'm getting the error: wintypes.dcu not found several times a day in the Delphi 2009 IDE, after this error code completion stops working, also I can't open any unit's source code with Ctrl + Click, then I have to reopen the IDE to fix it.

Anyone has a clue about what can be causing this?

The only IDE extension I have installed is GExperts.

Best Answer

wintypes.pas and winprocs.pas has been replaced with windows.pas (since a long time). You should use Unit Aliases to replace all wintypes with windows.