Hello
Could it be version problem?? Mine is Lazarus is ver 3.0, on Win10.
Actually at side of CSharp, definition is a class type.. and output is visible COM object in a dll.. (see attch) So, but, at Lazarus side, it must be class 'type' derived from interface (via with an GUID)..
Now.. When I've changed it by your suggestion, this time mister Lazarus says rightly "No matching implementation for interface method 'QueryInterface(constref TGuid;out <Formal type>):LongInt; StdCall;' found"
Perhaps, the best way might be do exporting the library from ground to FPascal/Lazarus..
Thanks