Subj : Re: LoadTypeLib To : borland.public.cpp.borlandcpp From : Bob Gonder Date : Tue Mar 01 2005 12:44 pm Mohsen wrote: > LoadTypeLib API function does not load type libraries in 32- >bit while it does in 16-bit. Any one knows what the reason could >be? I'm using Borland C++ 5.02. Check the return value. What is it? Do you have the proper DLL available/loaded? http://msdn.microsoft.com/library/default.asp?url=/library/en-us/automat/htm/chap9_1axu.asp The functions for loading, registering, and querying type libraries are provided by Oleaut32.dll (for 32-bit systems) and Typelib.dll (for 16-bit systems). .