12-20-2010 11:03 PM
Hi all,
Attached is the example of media player that i found while searching on this forum. The problem with this example is that it uses the earlier version of Active X control of " Windows Media Player".
Can anyone edit this example by using the latest version of the Active X control of "Windows Media Player" ?
Any help will be greatly appreciated.
12-21-2010 12:49 AM
Hi,
I want to add one thing more that when i try to make the above example with the same functions in CVI 2009 and by using the latest
version of the " Windows media Player's Active X control" , then the function
MediaPlayer_IMediaPlayer2SetFileName (mediaHandle, NULL, "1234.mp3");
gives the following error
NON-FATAL RUN-TIME ERROR: "d:\usb\msdxm.c line 5555, col 5, thread id 0x00000280: Function CA_GetInterfaceFromObjHandle: (return value == -2147467262 [0x80004002]). No such interface supported
Can anyone make the above example in CVI 2009 and by using the latest version of the " Windows media Player's Active X control"
12-21-2010 12:46 PM
Hi mhs100,
Some of the Media Players functions have been deprecated. Try running this example:
Using Windows Media Player 9 in LabWindows/CVI
That example works on my computer and I have Media Player version 12. One change is that now the play movie functions is MPLib_IWMPPlayer2SetURL.
I hope this helps!