Question

I'm Trying to develop a project that interacts with Live Messenger (8.5, 9.0 and higher)
I can't get it to work in windows XP, whenever i try to instantiate a MessengerClass (available in the messengerAPI) it gives me an exception, however, in windows vista, this error doesn't happen (same exact code, tested in more than one XP and more than one Vista machine).
I've read in forums that this issue is due to a security update microsoft has released in november 2008, but i haven't found a solution (though i'm not quite sure about it).
Has anyone ever had this problem ? any solution ? workarounds ?

Was it helpful?

Solution

I've found in a forum someone that has got the old discontinued version of MessengerAPI for desktop applications and made it fit into newer live messenger clients by editing the api itself and made it available in a link (note that as of July 21, 2011, this link is broken).

You just have to run TLBIMP.EXE from the command console in visual studio:

tlbimp [path]\MSNMessengerAPI.tlb

This will create a .dll in the same folder as the original .tlb file. You can import it as a reference in Visual Studio and use it right away.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top