Last post Jul 16, 2011 10:14 PM by Prashant Kumar
Jul 16, 2011 02:29 AM|jayawant|LINK
i have create simple chat application with windows live messenger.I have give reference of
MessengerAPI type Library.then it works.after creating a setup file with inno software
including interop.MessengerAPI.dll of chatting application(with windows live messenger).Install
that setup on anather machine then following errors are generates. ( Error HRESULT E_FAIL has
been returned from a call to a COM Component).How to avoid or remove this error.?The chatting
is not done in windows live messenger.I have give the anather reference ie,
Interop.MessengerAPI.dll but same errors will be generates.Interop.MessengerAPI.dll it is
supported in windows xp or not?
Jul 16, 2011 10:14 PM|Prashant Kumar|LINK
I hope you are aware that an interop is a .net assembly that routes calls from a .net application to a COM component. It does not contain the COM component. The COM component must exist on the machine.
In your case I guess the COM component that you are referencing gets installed with windows messenger/live messenger. If it does not exist on the target machine, you'll get the error you are getting.
More on interops