MSN Messenger API

Posted by MarceloRamires on Stack Overflow See other posts from Stack Overflow or by MarceloRamires
Published on 2010-05-04T21:10:46Z Indexed on 2010/05/05 18:38 UTC
Read the original article Hit count: 408

Filed under:
|
|
|
|

back when I was not working with programming (using skills from courses and school) I started developing a simple program that is supposed to get the Artwork of the album to which the song you're currently listening in iTunes to and set it as you Display Picture in MSN Messenger (everything had to be open at the same time).

I was so excited about it, made it as nicely as I could back then (now I consider it a design and usability complete fail), and it surprisingly worked.

Now, a couple of versions ahead (MSN from 8.5 to 9.0, iTunes from 8 to 9, and windows from Vista to 7) I am getting some incompatibility issues.

Where I work, I use Windows 7, Windows Live Messenger 2009 and iTunes 9 - it works just just like before, but at home I have the same exact setup, but something weird happens: When I open the program (having my itunes AND msn open) it doesn't use the active MSN instance, instead it opens a new one, and doesn't work even on this opened one.

I've tried it with a couple of libraries:

Interop.Messenger.dll - workis like described above Interop.MessengerAPI.dll - works like described above Interop.MessengerPrivate.dll - never worked MSNMessenger.dll - the one I used before - doesn't work anymore at all

What could I do ?


Info:

Visual Studio 2008, .NET 3.5, C#, WinForms application.

I'll watch this question and add any information if requested

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET