Example code not working with DirectShow

与世无争的帅哥 提交于 2019-12-12 03:26:35

问题


that's my problem: I'm trying to create a game for a school project and I created a video for it, so I googled a little bit and discovered that DirectShow provides some method to play .avi files, so I created a new project and pasted the example code I found here, but this won't work because it throws an exception on &pEvent, &pControl and pGraph. The exception reports: Access violation reading location 0x04186000. How could I solve this problem? (I'm a very newbie with DirectShow so I'm sorry for my ignorance).

Thanks in advance.

来源:https://stackoverflow.com/questions/37058980/example-code-not-working-with-directshow

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!