A
Achim Domma
Hi,
I try to implement a control library in CLI/C++ which uses DirectShow. I
have these lines in my code, which should make it possible to use
DirectShow:
#include <initguid.h>
#include <dshow.h>
#pragma comment (lib, "strmiids.lib")
#pragma comment (lib, "Quartz.lib")
#pragma comment (lib, "ole32.lib")
In a command line CLI project, I can compile the "How to Play a File"
example from this url:
http://windowssdk.msdn.microsoft.com/en-us/library/ms783787.aspx
If I use the same code in my CLI control library project, I get the
following error:
error LNK2001: unresolved external symbol IID_IGraphBuilder
Any hint what might be the difference?
regards,
Achim
I try to implement a control library in CLI/C++ which uses DirectShow. I
have these lines in my code, which should make it possible to use
DirectShow:
#include <initguid.h>
#include <dshow.h>
#pragma comment (lib, "strmiids.lib")
#pragma comment (lib, "Quartz.lib")
#pragma comment (lib, "ole32.lib")
In a command line CLI project, I can compile the "How to Play a File"
example from this url:
http://windowssdk.msdn.microsoft.com/en-us/library/ms783787.aspx
If I use the same code in my CLI control library project, I get the
following error:
error LNK2001: unresolved external symbol IID_IGraphBuilder
Any hint what might be the difference?
regards,
Achim