|
|
|
|
|
- Properties associated with the COMObject type
- Functions that use COMObject variables
COMObject (Variable type) In french: COMObjet
The COMObject type is used to represent an interface of a COM object. This type of variable is initialized by COMCreateInstance. Then, the methods of this interface can be called by COMCallMethod. Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable
PapierPeint is string Unicode
PapierPeint = AnsiToUnicode(RepeatString(" ", 260))
ActiveDesktop is COMObject
ActiveDesktop = COMCreateInstance("75048700-EF1F-11D0-9888-006097DEACF9", ...
"F490EB00-1240-11D1-9888-006097DEACF9")
IF ErrorOccurred = False THEN
COMCallMethod(ActiveDesktop, 4, &PapierPeint, 260, 1)
Info("L'image du bureau est : " + UnicodeToAnsi(PapierPeint))
END
Properties Properties associated with the COMObject type The following properties can be used to define the characteristics of COMObject variables: | | | Name | Type used | Effect |
---|
Address | System int | Address in memory of the interface pointer of the COM object. Remark: This property is for advanced use only.. We do not advise you to handle it directly. |
Remarks Functions that use COMObject variables
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|