Catastrophic failure (Exception from HRESULT: 0x8000FFFF) creating a playlist with axwindowsMediaPlayer

后端 未结 1 2041
甜味超标
甜味超标 2021-01-18 09:57

I am using the axwindowsMediaPlayer object to show videos in a winform. In particular I want to play a playlist.

Everything works fine on my pc (win7) and used to wo

相关标签:
1条回答
  • 2021-01-18 10:32

    I finally found the problem!

    My fault was not to remove the playlist once used (with IWMPPlaylistCollection::remove method ). I realized that I had 2000 playlists ( myplaylist.wpl, myplaylist(1).wpl,..., myplaylist(1999).wpl) in my file system and probably there is a limit of 2000.

    I don't know if it's a limit of the file system or of WMP.

    Once deleted all the files everything started working again.

    Thanks everyone for your help!

    0 讨论(0)
提交回复
热议问题