Inclusion of dshow.h results in definition errors

后端 未结 2 1683
我寻月下人不归
我寻月下人不归 2021-01-25 20:12

I am trying to do a few things using DirectShow for audio playback. I have a header file, at the top is:

#pragma once
#include 
#pragma comment(lib         


        
2条回答
  •  我在风中等你
    2021-01-25 20:24

    Fixed this by changing the order of the #include definitions. I moved the header file that the above code was defined in to the top and it works ok now. Must have been a clash with some code in another file, possibly some directSound related stuff.

提交回复
热议问题