basic playback with programmatically created windows media player

后端 未结 2 1236
攒了一身酷
攒了一身酷 2020-12-17 07:22

I was trying to \"just quickly integrate\" the Windows Media Player via COM to play single files from the local file system or http sources - but due to the sparse

2条回答
  •  无人及你
    2020-12-17 07:49

    After further investigation, it turned out that this was actually caused by a VS2005 workaround for VS2008s AtlSetPerUserRegistration() which was always active - but should have been only for the contained COM servers registration/unregistration.

    The workaround overrides HKEY_LOCAL_MACHINE with HKEY_CURRENT_USER, which obviously results in quite some components failing if they are created in-process.

提交回复
热议问题