Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

COMCreateObject

COM Subroutine: A generic routine that executes either COMCreateObjectByProgID or COMCreateObjectByGUID. This routine is only available for Windows.

Module

USE IFCOM

USE IFWINTY

Description

Your application obtains its first pointer to an object’s interface by calling COMCreateObject. It creates a new instance of an object class and returns a pointer to it.