how to avoid( Error HRESULT E_FAIL has been returned from a call to a COM Component)

jayawant

Newcomer
Joined
Apr 29, 2011
Messages
7
hi,

i have create a setup file with inno software including interop.MessengerAPI.dll of chatting

application(with windows live messenger).I have created a setup file with inno of that chatting

application.but installed that setup it is work in only my pc it is not work in anather

pc.because this errors are generated ( Error HRESULT E_FAIL has been returned from a call to a

COM Component).How to avoid or remove this error.?

Thanks,
 
Does the other pc have live messenger installed? If you added a COM reference to the messenger library then this library (and dependencies) is going to be required on any PC that your app is installed to.
 
hi,

in anather pc also installed windows live messenger.but Interop.Messenger.dll are not work properly to that machine because this errors are generate(Error HRESULT E_FAIL has been returned from a call to a COM Component).It is not registered in that pc.how to register interop.messengerAPI.dll into registry?.In that pc .net is not installed.

Thanks,
 
Does the other PC have the same version of Live Messenger installed or a different version? The COM interop stuff can be very fussy about versions of software prior to .Net 4.

The interop.xxxxxxx.dll doesn't need to be registered on the target machine as it simply acts as a wrapper around the underlying COM component that should already be present and registered.
 
Hi,

In anather pc have same version of windows live messenger.i have already gives the reference of interop.messengerAPI.dll.& in setup file i have also gives its location.but in anather pc the application is not work.it will not properly detect.


Thanks,

Jayawant.
 
Back
Top