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. :)

Regards,
Sven

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to