[fpc-devel] mantis 0038496 custom variants and documentation

Ondrej Kelle tondrej at gmail.com
Sun May 30 12:10:13 CEST 2021


chakracore-delphi (experimental/variants branch) also has a custom variant
(descendant of TInvokeableVariantType) to wrap javascript values/objects so
you can access properties and call methods on javascript objects at runtime
(similar to how you can use ActiveX/Automation objects through Variants
when not compiling against a type library).

https://github.com/tondrej/chakracore-delphi
Blog post:
https://tondrej.blogspot.com/2020/10/variant-support-in-chakracore-delphi.html

Cheers,
Ondrej

On Sun, 30 May 2021 at 11:39, Don Alfredo via fpc-devel <
fpc-devel at lists.freepascal.org> wrote:

> https://synopse.info/forum/viewtopic.php?id=5894
>
> Op zo 30 mei 2021 10:44 schreef Michael Van Canneyt via fpc-devel <
> fpc-devel at lists.freepascal.org>:
>
>>
>>
>> On Sun, 30 May 2021, Marco van de Voort via fpc-devel wrote:
>>
>> > Before the 3.2.2 release I looked into mantis 0038496 and now I come
>> > back to it.
>> >
>> > I noticed that custom variants are completely undocumented, is this
>> know
>> > (IOW should I file a bug?).
>>
>> Please do. I am aware of this issue, but it always falls between the other
>> issues. If you happen to have some sample programs (however small) I can
>> use to document this, please attach them to the issue.
>>
>> I know that Synopse makes heavy use of the customvariant (I believe their
>> JSON document it a customvariant), maybe it can be a source of
>> inspiration.
>>
>> Michael.
>> _______________________________________________
>> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
>> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
>>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20210530/f0a6bdfd/attachment.htm>


More information about the fpc-devel mailing list