Click here to get back home

how to use the CSampleGrabber(the dshow filter),

 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
how to use the CSampleGrabber(the dshow filter), sweetdevil 06-07-2007
Get Chitika Premium
Posted by sweetdevil on June 7, 2007, 10:35 am
Please log in for more thread options
Hi:
the CSampleGrabber filter code in the following site:
http://groups.google.com/group/microsoft.public.smartphone.developer/browse=
_thread/thread/d27aff26d65c7ac6/ddb08a4282644594?lnk=3Dgst&q=3Dhelp&rnum=3D=
29&hl=3Den#ddb08a4282644594
I have register it successfully!
But,here comes the problem when I ues it in the CameraCapture(the
code in WM5 ppc SDK),it comes errors!
I have add .h ifile in the CameraCapture project.
I don't know how to new a instance for the filter,so i add the code
following.
----------------------------------------------
LPUNKNOWN pUnk;
HRESULT phr;
CSampleGrabber *grab =3D new CSampleGrabber(pUnk,&phr);
------------------------------------
but after compiling,the error message is

>strmbase.lib(renbase.obj) : error LNK2019: unresolved external symbol tim=
eKillEvent =E5=9C=A8=E5=87=BD=E5=BC=8F "public: void __cdecl CBaseRenderer:=
:ResetEndOfStreamTimer(void)" (?ResetEndOfStreamTimer@CBaseRenderer@@QAAXXZ=
) =E4=B8=AD=E8=A2=AB=E5=8F=83=E8=80=83
1>strmbase.lib(renbase.obj) : error LNK2019: unresolved external
symbol timeBeginPeriod =E5=9C=A8=E5=87=BD=E5=BC=8F "public: virtual long __=
cdecl
CBaseRenderer::StartStreaming(void)" (?
StartStreaming@CBaseRenderer@@UAAJXZ) =E4=B8=AD=E8=A2=AB=E5=8F=83=E8=80=83
1>strmbase.lib(renbase.obj) : error LNK2019: unresolved external
symbol timeEndPeriod =E5=9C=A8=E5=87=BD=E5=BC=8F "public: virtual long __cd=
ecl
CBaseRenderer::StopStreaming(void)" (?
StopStreaming@CBaseRenderer@@UAAJXZ) =E4=B8=AD=E8=A2=AB=E5=8F=83=E8=80=83
1>strmbase.lib(renbase.obj) : error LNK2019: unresolved external
symbol timeSetEvent =E5=9C=A8=E5=87=BD=E5=BC=8F "public: virtual long __cde=
cl
CBaseRenderer::SendEndOfStream(void)" (?
SendEndOfStream@CBaseRenderer@@UAAJXZ) =E4=B8=AD=E8=A2=AB=E5=8F=83=E8=80=83

could anyone tell me?


Similar ThreadsPosted
How to debug DShow filter on smartphone? June 10, 2006, 4:30 am
LoadLibrary() fails on dshow filter April 17, 2007, 3:09 pm
help! how to register dshow filter with WM5.0 ppc device May 31, 2007, 11:46 pm
xvid dshow filter link errors April 15, 2007, 12:56 pm
DirectShow cannot instantiate the CSampleGrabber (Windows Mobile 5) October 24, 2007, 10:12 am
WM 5.0: Error in Register CSampleGrabber and CNullRenderer into my Camera Previewer ? April 16, 2007, 6:25 am
How to use dshow June 5, 2006, 7:59 am
DShow on smartphone June 14, 2006, 9:55 pm
avi mux filter not supported on WM5? October 18, 2005, 11:16 pm
Firewall or IP Filter October 12, 2007, 4:21 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap