Olevariant/de: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: Olevariant/de
| Old | New | Line | |
|---|---|---|---|
| 1 | + | Zurück zu den [[Data type/de|Datentypen]]. | |
| 2 | + | ||
| 3 | + | Speicherbedarf bei 32 Bit Kompilierung: 16 Byte bzw. 128 Bit | |
| 4 | + | ||
| 5 | + | Speicherbedarf bei 64 Bit Kompilierung: 24 Byte bzw. 192 Bit | |
| 6 | + | ||
| 7 | + | Eigenschaft: Der [[Data type/de|Datentyp]] **OleVariant** ist ein Variant-Datentyp, der der OLE-Automatisierung (Automatisierung anderer Programme) dient. | |
| 8 | + | ||
| 9 | + | Deklaration eines Datenfeldes vom [[Data type/de|Datentyp]] OleVariant: | |
| 10 | + | ||
| 11 | + | ``` pascal | |
| 12 | + | var | |
| 13 | + | varOle: OleVariant; | |
| 14 | + | ``` | |
| 15 | + | ||
| 16 | + | Erstellen eines OleObjektes: | |
| 17 | + | ||
| 18 | + | ``` pascal | |
| 19 | + | begin | |
| 20 | + | ... | |
| 21 | + | varOle := CreateOleObject('Excel.Application'); | |
| 22 | + | ... | |
| 23 | + | end; | |
| 24 | + | ``` | |
| 25 | + | ||
| 26 | + | Freigabe eines Datenfeldes vom [[Data type/de|Datentyp]] OleVariant:\ | |
| 27 | + | ||
| 28 | + | ``` pascal | |
| 29 | + | begin | |
| 30 | + | ... | |
| 31 | + | varOle := Unassigned; | |
| 32 | + | ... | |
| 33 | + | end; | |
| 34 | + | ``` | |
| 35 | + | ||
| 36 | + | Weitere Beispiele zur Verwendung zum Thema OleVariant finden Sie unter dem Thema [[Office Automation/de|Softwareautomation]]. | |
| 37 | + | ||
| 38 | + | --- | |
| 39 | + | *From the Free Pascal wiki, page "Olevariant/de", 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](/wiki-contact).* |
