Subj : Accessing .Net Component in Borland C++ To : borland.public.cpp.borlandcpp From : Ramaprasad Date : Thu Sep 02 2004 01:12 pm Hi, I developed a class library in VB.Net and generated the type library. When I import typelibrary in Borland c++ project and Build the project i am getting following Errors: ---ERROR START [C++Error] utilcls.h(177): Ambiguity between 'Mscorlib_tlb::Exception' and 'Sysutils::Exception'. [C++Error] utilcls.h(177): Cannot create instance of abstract class 'Mscorlib_tlb::_Exception'. [C++Error] utilcls.h(177): Class 'Mscorlib_tlb::_Exception' is abstract because of '__stdcall Mscorlib_tlb::_Exception::get_ToString(wchar_t * *) = 0'. [C++Error] utilcls.h(177): Could not find a match for 'Mscorlib_tlb::_Exception::_Exception(System::AnsiString)'. [C++Error] utilcls.h(177): Cannot cast from 'System::AnsiString' to 'Mscorlib_tlb::_Exception'. ---ERROR END I am able to access same .net component in VB and VC++. Please give me the answer, if any one know it. It will be of great help for me. Regards, Ram .