Hi,
I'm trying to monitor windows media streams from an NT service. Is that possible?
Thanks.
"Alessandro Angeli" wrote:
[Quoted Text] > From: "Eric" > > > Goal: Be able to test a windows media stream via the > > command line, and print the output "OK" or "ERR" > > depending on the status. I was able to successfully do > > it via windows forms: "app.exe http://url/file.wmv"> > > > Problem: However, these will only work if executed from a > > logged-in-desktop's command prompt. When I have the call > > executed FROM another NT service, I get an error in the > > event viewer: > > The WMP OCX is a GUI component and you really shouldn't use > GUI components in a service. What exactly are you trying to > do with WMP? > > > -- > // Alessandro Angeli > // MVP :: DirectShow / MediaFoundation > // mvpnews at riseoftheants dot com > // http://www.riseoftheants.com/mmx/faq.htm > > >
|