A COM type library is a binary file containing the definition of a COM component.
To illustrate the principles of working with OLE automation in NAV, we will create a simple codeunit that reads data from a NAV server configuration file that is stored in XML format.
codeunitobject in C/SIDE object designer.
OnRuntrigger of the
codeunit. Open local variables of the trigger and create a
XMLDocvariable. In the DataType field, select the Automation option.