How do i register a COM object (Direct X filter) from a applicatoin program?
-
Hi, Does anyone knows how to register a DirectX filter (*.ax) from a application program without using Regsrv32 xxx.ax? ;P
-
Hi, Does anyone knows how to register a DirectX filter (*.ax) from a application program without using Regsrv32 xxx.ax? ;P
Call the DllRegister method of the DLL. You might not have to do this: it is possible to use a filter directly in your program without having registered it. I'm assuming that intelligent connect won't find it and you have to do some weird stuff (use the new operator on a COM object). Search for a SampleGrabber example program on MSDN. I found it a while ago for an older version of DirectX, and did some fiddling but I got it to work.
If you can keep you head when all about you Are losing theirs and blaming it on you; If you can dream - and not make dreams your master; If you can think - and not make thoughts you aim; Yours is the Earth and everything that's in it. Rudyard Kipling