You can use the Import ActiveX dialog if you are importing from the type library of an ActiveX control.This is the most general method, because it lets you import information from any type library and can optionally generate component wrappers for all creatable CoClasses in the type library that are not flagged as Hidden, Restricted, or PreDeclID. You can use the Import Type Library dialog to import all available information about the server types, objects, and interfaces.There are two ways to import type library information: Your application can then use the resulting generated classes to control the server object. To make information about the COM server available to your client application, you must import the information about the server that is stored in the server's type library.
0 Comments
Leave a Reply. |