Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2017-10

Lazarus is unable to find OleVariant when pressing Alt+Up

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Lubos Pintes

Hello,
Nothing more to say, unit is compilable, but I cannot find the OleVariant. I am trying to figure out how to work with it in FPC, so I wanted to see the definitions etc.

Reply by email

Sven Barth
to Lubos Pintes

Am 10.10.2017 11:07 schrieb "Lubos Pintes via Lazarus" <

: Hello, Nothing more to say, unit is compilable, but I cannot find the

OleVariant. I am trying to figure out how to work with it in FPC, so I wanted to see the definitions etc.

OleVariant is a compiler internal type so there is no definition of it. It is essentially a Variant that can only contain OLE-compatible data (e.g. strings only as type BSTR). In addition to that it also supports dynamic dispatch (though the normal Variant AFAIK supports that as well) which allows to use it for late binding function calls in context of COM and OLE.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20171010/24326293/attachment.html>

Reply by email