help needed adding com components with idl
-
Hi, i am trying to add a com component in VC (Managed) but the component is not been able to add, i.e. when i try to add, following error is displayed "Add reference: error adding reference to project" for additional info, i have a sample sdk that is using the component it is actually developed under VC 6.0 and is using .idl files Will some body please me how to do this, i will be very thankfull. Arus.
-
Hi, i am trying to add a com component in VC (Managed) but the component is not been able to add, i.e. when i try to add, following error is displayed "Add reference: error adding reference to project" for additional info, i have a sample sdk that is using the component it is actually developed under VC 6.0 and is using .idl files Will some body please me how to do this, i will be very thankfull. Arus.
You should provide more information along with your inquiry. Anyone responding will have to ask you a number of questions. I assume that you are new to this kind of thing. If the COM component has a type library, the easiest thing to do is to convert it to a .NET assembly with the utility, TlbImp.exe. If you don't understand that clearly, then you should read up a little on COM Interop; COM components are unmanaged and you are trying to use it in a managed app.