Hi,
Seems FPC 3.1.1 trunk version does not include the 26773 fix (TInvokeableVariantType).
I guess you mean that you compiled FPC 3.1.1 and tried to check the fix, and that it still didn't work. Or maybe that it worked for you as long as the version was 2.7.1, but that since the version changed to 3.1.1 it doesn't work anymore. Or maybe something else?
Please be more specific (always be specific when reporting problems), as the actual dirty hack that was committed for mantis 26776 is in fact still in svn trunk (no changes were reverted when the version number was changed to 3.1.1).