Windows media player 12 not launching from custom program

Posted by Supertrolly on Super User See other posts from Super User or by Supertrolly
Published on 2011-11-30T17:46:03Z Indexed on 2011/11/30 18:01 UTC
Read the original article Hit count: 223

There is a program we use for testing that calls windows media player and plays a media file. The problem is that windows media player fails to load unless you open and close it before starting the program. After that the program will open it every time without a hitch but after a reboot it is lost and you must do it again. My question is what could be voilate setting could windows media player have that would be lost on a reboot?

I have tried programs like Regshot to capture changes to the registry that might be delated on reboot. The code for the program is very straight forward simply calling windows media player with a parameter with the media to play. Using process montior I have determined that is is crashing shortly after the program executes it.

I am at a lost on this problem as I can not find what if anything it is changing to run windows media player.

© Super User or respective owner

Related posts about windows-7

Related posts about windows-media-player