August 2000
Intermediate to advanced
816 pages
18h 34m
English
The next two sections are experiments that I believe are most useful in understanding how COM events work. These experiments show how different compilers generate their own event interfaces.
If you create a VB ActiveX control and compile the project into an OCX, you can use OLEView to read the OCX's type library. Start OLEView and select File, View TypeLib from the menu bar. Select your newly created OCX and click the Open button. The right pane of the ITypeLib viewer displays the content of the type library in IDL format. Listing 6.21 is the default IDL generated for a Visual Basic ActiveX control.
// Generated .IDL file (by ... |
Read now
Unlock full access