Sign in Join
Wiki copytemporary

Olevariant/fr

Deutsch · English · Français

Occupation en mémoire :

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 :

pascal
var
  varOle: OleVariant;

Création d'un objet :

pascal
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):\

pascal
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.

Revision 1, last changed by WikiArchive .

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.