MINTLB ------ This example demostrates the absolute minimum required to generate a .PAS file from a .TLB file in Delphi 2.x or C++Builder 1.x. All entries in the .REG, .ODL and .RC file herein are necessary. Nothing else is necessary. In order to build this project such that you can get a .TLB and .DLL file, you will need, C++Builder 1.0 with the first and second patches MIDL.EXE version 3.0 Win32SDK IDL files The second two items are available on my website, http://www.apsoft.com/~gcross/homebrew.html Once you make the DLL and make and register the type library, generate the .PAS and .HPP file in C++Builder as follows: Run C++Builder Select Component|Install|ActiveX Select George's Minimum Type Library Click OK Click OK After the component palette rebuilds, two new files should exist: bcb\lib\mintlb.pas bcb\lib\mintlb.hpp Using regular C++ code, you can instantiate a type of the class therein, set properties, and call methods letting the VCL's TOleControl base class perform all the underlying OLE marshalling. I hope you find this useful ! Sincerely, George Cross, Borland C++ Tech Support, October 1997