Error adding event handlers when using Libc unit lazarus / 13-General ---------------------------------------------------------------------- BrainDead · 2008-02-14 19:25 This is not a request for help, but help for anyone who has encountered this problem. I added "Libc" to the uses clause, and when I tried to add event handlers for menu items, buttons, etc., I got this message: Unable to find method. Plz fix the error shown in the message window. In the message window, I got this message: /usr/share/fpcsrc/rtl/netwlibc/libc.pp(6443,27) Error: indentifier expected, but generic found To fix this, I added a second "uses" clause just below "implementation" and put Libc there: implementation uses    Libc; Now it works fine. I have no idea why that happened, but I remember from the old days using Delphi 2 that I had to have that second uses clause, I just don't remember why. Hope this helps someone out there!