Bati9
2010-05-20 18:39:54 UTC
Is there a reliable way of figuring out if WMP has been initialized on
a user's machine? I just found a bug on my app written in C# and using
the WMPLib::WindowsMediaPlayer class - it crashes when I try to import
the artists from a WMP app that hasn't been run yet.
I know on XP, there's this reg key that i might be able to use:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Preferences]
"AcceptedEULA"=dword:00000001
"FirstTime"=dword:00000001
But this doesn't seem to be the case on Win7.
a user's machine? I just found a bug on my app written in C# and using
the WMPLib::WindowsMediaPlayer class - it crashes when I try to import
the artists from a WMP app that hasn't been run yet.
I know on XP, there's this reg key that i might be able to use:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Preferences]
"AcceptedEULA"=dword:00000001
"FirstTime"=dword:00000001
But this doesn't seem to be the case on Win7.