Olevariant/fr
Occupation en mémoire :
- dans une compilation en 32 Bit : 16 octets soit 128 Bit
- dans une compilation en 64 Bit : 24 octets soit 192 Bit
Propriété : Le type de donnée OleVariant est un type variant, utilisé dans l'automatisation OLE (automatisation d'un autre programme).
Déclaration d'un champ de donnée de type OleVariant :
var
varOle: OleVariant;Création d'un objet :
begin
...
varOle := CreateOleObject('Excel.Application');
...
end;Libération d'un champ de donnée de type OleVariant (du fait du comptage de références):\
begin
...
varOle := Unassigned;
...
end;D'autres exemples d'utilisation de l'objet Olevariant se trouvent dans le sujet Automatisation de logiciel.
From the Free Pascal wiki, page "Olevariant/fr", as it stood on 2020-02-21 after a change by Trev, 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.
Talk about this page
Nobody has opened a bench for this page yet. Sign in to open one.
