Just some irregular thoughts:
1) Have you enabled Delphi compatibility in FPC?
2) Try decralring class as: "IMyClass = class" (without TObject)