About COM Objects

HostExplorer Programming

About COM Objects

Component Object Model (COM) is an efficient object-oriented programming methodology that documents all of the standard functions that reside in DLLs. COM allows programmers to develop objects that can be accessed by any COM-compliant application.

COM is one type of application programming interface (API), which is a widely known document standard used to write applications. COM is also a new form of Object Linking and Embedding (OLE), a document standard that lets you create objects within one application and embed them in another application.

In COM, an individual object is assigned discrete and logical functionality. As well, you can create relationships between objects. Because objects can be independent of one another, you can create an object that inherits many of its features from existing objects, rather than changing a module when a new object is added. Using small and flexible COM objects, you can:

  • improve application performance
  • reduce application size
  • reuse code to develop applications more rapidly

The COM interface displays the available API methods and properties with the corresponding syntax. The interface executes the code in a dynamic-link library (DLL), and the COM object returns the corresponding value or data.

An ActiveX object (for example, Terminal objects within HostExplorer) is a specific type of COM object and is associated with the GUI. ActiveX objects support a number of standard methods and properties.

Sample files of COM objects are available in the directory where the program files are stored on your machine:

HostExplorer\SDK\Samples\COMObjects

Note: 
  Methods and properties for TN3270 and TN5250 terminal types do not apply to Hummingbird Connectivity SecureTerm.

Related Topics

About the Terminal Objects

About the Profile Object

About the Parser Objects

About the Transport Objects