How to setup Visual C++ Express for MM ?

Post a reply

:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review

Expand view Topic review: How to setup Visual C++ Express for MM ?

VB.Net and MM

by Skywave » Sun May 25, 2008 11:47 am

Hi Steegy

I appreciate that you point us in the Northerly direction on the Wiki :D

However... I want to go North West. Meaning that instead of opening a new instance of MM (which is what happens with CreateObject("SongsD.SDBApplicationClass")), I want to connect to the existing one.

I've tried GetObject in VB.Net with "SongsDB.SDBApplicationClass" as the classname, without specifying the path. I've also tried it with "Winamp v1.x". Both of them throw up a "Can't create ActiveX object" error. :cry:

Any ideas?


by botijo » Mon Feb 04, 2008 4:43 pm

Thanks a lot!
It looks like a wannabe programer like me has to learn a lot if I want to do something as complex as what I want to do. I really really find documentation by Microsoft not for people without experience.
Again, thanks.

by Steegy » Mon Feb 04, 2008 4:35 pm

Take a look at the C++ sample code I just put in the wiki: ... plications


by botijo » Sun Feb 03, 2008 6:34 pm

Ok, I got that tip... But I still cannot see the path of yellow bricks. I see that using COM objects in VC++ is ultimately complex, too much for a wannabe programmer like me. Although I am not sure if that is programming anymore - too much documentation reading, and not much algorithm solving.
I will continue my effort in documentation reading (although I cannot make any sense at all of how to use the MM interface in C++). If you find more info in the meantime, please let me know.
Update: I just hate VC++....

by Steegy » Sun Feb 03, 2008 4:39 pm

Really too bad that you can't use C#. It's a much more modern language.

Anyway, in VC++ open/create a project and then use:
menu Project > References... > Add New Reference... > COM > MediaMonkey Library > OK


How to setup Visual C++ Express for MM ?

by botijo » Sat Feb 02, 2008 3:22 pm

Hi, everybody,
I have been struggling a lot with Visual C++ 2008 Express this afternoon, after I installed it for the first time. I do not find the correct way to "add reference" to the MM COM Object in VC++, although it did work for VC#. There is so much information that I cannot see how to do this right. Even telling me what are the basic steps will do me a favour - so confused I am at this stage.
By the way, there is no way I can try another compiler unless it is free and supports the upnphost interface. That is the reason I cannot continue with VC#.
Thanks for your time.