I just found that an app of mine eats 25% of the CPU when Win32 GUI application (-WG) is marked in Options for Projects.
This happens when my app is doing nothing.
I unchecked -WG and CPU usage dropped to 0%.
I found that I have InitMouse; in .FormCreate(Sender: TObject); After removing it and with -WG checked CPU usage stays low.
This happens in Lazarus 1.8.0, win 7.
Is it me doing something wrong and how am I to cure this?