Subj : Re: LoadTypeLib Error Message TYPE_E_CANTLOAD.. To : borland.public.cpp.borlandcpp From : Mohsen Date : Fri Mar 04 2005 11:01 pm >argv[1] is a char*, not a wchar_t*. >If LoadTypeLib is truely expecting a wchar_t, then it will be >disappointed. > > > Dear Bob, Thanks for your help. The problem resides in converting char* to wchar_t*. Mohsen .