[Matroska-devel] CoCreateInstance(CLSID_MKXDEMUX returns error code.

Stef Heyenrath cyberdemonii at hotmail.com
Sat Jan 17 15:08:21 CET 2004


Hi all,

I want to create a simple muxing application with directshow.

The following h-file is included :

#ifndef MKXDS_FILTER_H
#define MKXDS_FILTER_H


DEFINE_GUID(CLSID_MKXDEMUX, 0x34293064, 0x2f2, 0x41d5, 0x9d, 0x75, 0xcc, 
0x59, 0x67, 0xac, 0xa1, 0xab);

#ifdef __cplusplus
extern "C" {
#endif

DEFINE_GUID(IID_IMkxFilter, 0x36a2372a, 0x8697, 0x45ae, 0x90, 0x3c, 
0x6f, 0x1c, 0x80, 0x9, 0xf7, 0x50);

DECLARE_INTERFACE_(IMkxFilter, IUnknown)
{};

#ifdef __cplusplus
}
#endif

#endif // MKXDS_FILTER_H


------------------
But when my application tries to create a mux filter like :

hr = CoCreateInstance(CLSID_MKXDEMUX, NULL, CLSCTX_INPROC_SERVER, 
ID_IMkxFilter, (void **) ppMux);

I get the error code : "REGDB_E_CLASSNOTREG",

(But when i try to create a OggMux Filter, there are no problems.)

what could be the problem ?

Thanx,
Stef





More information about the Matroska-devel mailing list