vlax-create-object


(vlax-create-object COM-Id)

This function creates a new instance of the specified COM server object by its COM-Id name.

Arguments

COM-Id  (string) identifies the COM server object by its name

Return

VLA-OBJECT;  the COM server object, or NIL if instantiation fails

Example

(setq fso (vlax-create-object "Scripting.FileSystemObject"))
#<VLA-OBJECT IFileSystem3 0000000027623520>

Remarks

see (vlax-get-or-create-object) function
see (vlax-get-object) function



©  Bricsys NV. All rights reserved.