OleVariant
Back to data types.
Memory required for 32-bit compilation: 16 bytes or 128 bits.
Memory required for 64-bit compilation: 24 bytes or 192 bits.
Property: the data type OleVariant is a variant data type that is used for OLE automation (automation of other programs).
Declaration of a data field of the data type OleVariant:
var
varOle : OleVariant;
//Create:
varOle := CreateOleObject('Excel.Application');
//Release of a data field of the data type OleVariant:
varOle := Unassigned;You can find further examples for use on the topic of OleVariant under the topic of software automation.
From the Free Pascal wiki, page "OleVariant", as it stood on 2023-12-22 after a change by Alextpp, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.