Click here to get back home

WM 5.0: Error in Register CSampleGrabber and CNullRenderer into my Camera Previewer ?

 HomeNewsGroups | Search | About
 microsoft.public.smartphone.developer    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
WM 5.0: Error in Register CSampleGrabber and CNullRenderer into my Camera Previewer ? Michton 04-16-2007
Get Chitika Premium
Posted by Michton on April 16, 2007, 6:25 am
Please log in for more thread options
Hi MVPs and others friends

Finally, I successed to compile the NullRenderer (thanks to Gary) and
the CSampleGrabber
(thanks to tmchale:
http://groups.google.com/group/microsoft.public.windowsce.app.development/browse_thread/thread/7f9b633076e74d10/4ccec3d790c3e69c?lnk=st&q=csamplegrabber&rnum=3#4ccec3d790c3e69c)


I failed to Register NullRenderer and CSampleGrabber. ( Itried also
the RegSvrCe and the C++ Application)

Some ideas?
The Return Code for CSampleGrabber is 0x800401f9
NullRenderer does not even find the Function DllRegisterServer


which is really SAD FOR ME.

So is there some misunderstanding for COM using??

So much efforts !!!

Thank you


Posted by Michton on April 16, 2007, 9:47 am
Please log in for more thread options
> Hi MVPs and others friends
>
> Finally, I successed to compile the NullRenderer (thanks to Gary) and
> the CSampleGrabber
> (thanks to
tmchale:http://groups.google.com/group/microsoft.public.windowsce.app.develop...)
>
> I failed to Register NullRenderer and CSampleGrabber. ( Itried also
> the RegSvrCe and the C++ Application)
>
> Some ideas?
> The Return Code for CSampleGrabber is 0x800401f9
> NullRenderer does not even find the Function DllRegisterServer
>
> which is really SAD FOR ME.
>
> So is there some misunderstanding for COM using??
>
> So much efforts !!!
>
> Thank you

ok. I did it

New DEF FILE for CSampleGrabber:
LIBRARY        CSampleGrabber.dll

; These exports are necessary in order for com to register the filter
EXPORTS
DllMain PRIVATE
DllGetClassObject PRIVATE
DllCanUnloadNow PRIVATE
DllRegisterServer PRIVATE
DllUnregisterServer PRIVATE

it works.

For NullRend: I just forgot to insert the DEF file into the LINK
settings

Sorry for all these stupid questions.
Now I need to connect them into my graph.



Similar ThreadsPosted
Re: directshow: how to get the Previewer (Renderer) Pin December 19, 2007, 4:52 am
how to use the CSampleGrabber(the dshow filter), June 7, 2007, 10:35 am
DirectShow cannot instantiate the CSampleGrabber (Windows Mobile 5) October 24, 2007, 10:12 am
Camera on WM6: camera capture, motion sensing, and so on October 29, 2008, 1:52 pm
how to Register For Msftmobile.com June 27, 2006, 4:42 am
WMP not Register 80040154 window ce 5.0 January 20, 2006, 9:50 am
How register my own FDRM Engine ? April 5, 2006, 3:53 am
Is it possible to register VK_TEND hotkey? September 10, 2007, 4:26 am
How to register the dll in Smartdevice and to test May 19, 2008, 8:48 am
Which app is responsible for register network during boot? May 23, 2006, 9:28 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap