JavaTLB is the underlying tool used by the Java Type Library Wizard to create Java descriptions of COM components. JavaTLB reads type library information from .TLB, .OLB, .OCX, .DLL, and .EXE files and creates Java descriptions of the objects in the type library. The Java Type Library Wizard can only process type libraries that are registered. Since the type library for this sample is not registered, you cannot use the Java Type Library Wizard.
In this sample, you create a Java COM component (server). To make this server available as a COM component, the class must implement a COM interface. EUCLID.ODL describes a COM interface for the CEuclid class. The CEuclid class implements the COM interface IGCD.
Return to the top of this article.
To create a Java description of COM components:
set path=%path%;c:\msdev\bin
javatlb euclid.tlb