Fehler in DirectShow (strmif.h) auf devCpp
-
Hallo,
ich kann in DevCpp die DShow.h nicht Fehlerfrei einbinden, diese bindet die strmif.h mit ein und in der Stecken die fehler, sp wie in winnt.h, Ausgabe:
C:/DEV-CPP/include/strmif.h:20557: error: expected constructor, destructor, or type conversion before '(' token
C:/DEV-CPP/include/strmif.h:20557: error: expected
,' or;' before '(' tokenC:/DEV-CPP/include/strmif.h:28736: error: declaration of `GUID tagVMRGUID::GUID'
C:/DEV-CPP/include/winnt.h:1351: error: changes meaning of `GUID' from `typedef struct _GUID GUID'
Die betreffende Stelle an Position 20557 sieht wie folgt aus:
[cpp]#ifdef __cplusplus
#ifndef _IAMFilterGraphCallback_
#define _IAMFilterGraphCallback_
// Note: Because this interface was not defined as a proper interface it is
// supported under C++ only. Methods aren't stdcall.
EXTERN_GUID(IID_IAMFilterGraphCallback,0x56a868fd,0x0ad4,0x11ce,0xb0,0xa3,0x0,0x20,0xaf,0x0b,0xa7,0x70);
interface IAMFilterGraphCallback : public IUnknown
{
// S_OK means rendering complete, S_FALSE means retry now.
virtual HRESULT UnableToRender(IPin *pPin) = 0;};
#endif // _IAMFilterGraphCallback_
#endif[/cpp]Diese Callback brauch ich aber, daher kann ich sie nicht ausmakieren, weiß jemand eine Lösung?