[Lazarus] Custom variant "not supported" ?

Sven Barth pascaldragon at googlemail.com
Thu Sep 16 09:38:07 CEST 2010

Am 16.09.2010 09:27, schrieb Maik Wojcieszak:
> Hi,
> I've implemented a custom variant in delphi an tried to port it to lazarus.
> A lot of TCustomVariantType seems not to be supported.
> Example:
> procedure TCustomVariantType.VarDataInit(var Dest: TVarData);
> begin
> NotSupported('TCustomVariantType.VarDataInit');
> end;
> Also the functions to implement methods and properties seem not to be
> implemeted.
> I get a DispInvoke not supported message when running my program.
> Searching the internet for examples how to implement custom variants did
> not bring up
> a lot. It seems that even in delphi it is a rarely used feature.
> Is there a way to implement the custom variant with methods and properties
> in lazarus ?

You might either ask this on the FPC mailing list or create an issue 
report in the FPC bugtracker, because that's a problem of FPC not 
Lazarus. :)


More information about the Lazarus mailing list