问题
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