Click here to get back home

How to register a directshow DLL in Windows Mobile 5.0 or 6.0?

 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 register a directshow DLL in Windows Mobile 5.0 or 6.0? Rab 03-20-2008
Get Chitika Premium
Posted by Rab on March 20, 2008, 5:41 am
Please log in for more thread options
Hi,

I'm developping a Windows Mobile 5.0 Pocket PC application to acquire
and process camera frames on-the-fly then render them onto the mobile
screen.
The approach I take is to implement a SampleGrabber Class which
doesn't exist in the Windows Mobile 5.0 version of Directshow.

I saw on the net discussions, i have to create a SampleGrabber filter
in a dll and register it with REGSVRCE.EXE.

1. I define my SampleGrabber filter in a DLL as it explains in the
msdn doc : http://msdn2.microsoft.com/en-us/library/aa451266.aspx

2. I install microsoft embedded 4.0 c++ to obtain regsvrce.exe.

3. I copy regsvrce.exe and samplegrabber.dll in my pocket pc emulator.

When i call "regsvrce.exe samplegrabber.dll" on the emulator, I have
this problem :

Loadlibrary("SampleGrabber.dll") failed.
GetLastError returns 47e.

Error 47e is "The specified program requires a newer version of
Windows".

I develop on Visual Studio 2008, with WM 5.0 or 6.0 pocket pc
emulator.

Does the regsvrce.exe from evc4 work with the WM5 or 6 emulator?

How to make a COM server find my DLL on the system when instantiating
a class of this DLL in Windows Mobile 5.0 or 6.0?

Thanks for your help

Posted by Micheal LoPatri on March 24, 2008, 1:54 pm
Please log in for more thread options
Hi Rab,
My team has done a fair bit of development with cameras in the Windows
Mobile devices and most, if not all, applications for cameras will not work
in the emulator. Have you tried deploying this to an actual Windows Mobile
device?

-Mike
--
Micheal LoPatriello
Coordinator,
Luna Development
mlopat@lunadevelopment.com
http://www.lunadevelopment.com


"Rab" wrote:

> Hi,
>
> I'm developping a Windows Mobile 5.0 Pocket PC application to acquire
> and process camera frames on-the-fly then render them onto the mobile
> screen.
> The approach I take is to implement a SampleGrabber Class which
> doesn't exist in the Windows Mobile 5.0 version of Directshow.
>
> I saw on the net discussions, i have to create a SampleGrabber filter
> in a dll and register it with REGSVRCE.EXE.
>
> 1. I define my SampleGrabber filter in a DLL as it explains in the
> msdn doc : http://msdn2.microsoft.com/en-us/library/aa451266.aspx
>
> 2. I install microsoft embedded 4.0 c++ to obtain regsvrce.exe.
>
> 3. I copy regsvrce.exe and samplegrabber.dll in my pocket pc emulator.
>
> When i call "regsvrce.exe samplegrabber.dll" on the emulator, I have
> this problem :
>
> Loadlibrary("SampleGrabber.dll") failed.
> GetLastError returns 47e.
>
> Error 47e is "The specified program requires a newer version of
> Windows".
>
> I develop on Visual Studio 2008, with WM 5.0 or 6.0 pocket pc
> emulator.
>
> Does the regsvrce.exe from evc4 work with the WM5 or 6 emulator?
>
> How to make a COM server find my DLL on the system when instantiating
> a class of this DLL in Windows Mobile 5.0 or 6.0?
>
> Thanks for your help
>

Similar ThreadsPosted
DirectShow in Windows Mobile 5.0 March 1, 2007, 4:57 am
DirectShow cannot instantiate the CSampleGrabber (Windows Mobile 5) October 24, 2007, 10:12 am
Problem in playing back video files with DirectShow on Windows Mobile 6.0 September 1, 2008, 10:20 am
What video file format and codec are supported for Windows Mobile DirectShow September 2, 2008, 6:01 am
Develop DirectShow app in smartphone mobile 5.0 March 29, 2006, 10:00 pm
DirectShow Filters and windows media player October 30, 2006, 2:28 am
How to make a Windows Media Player Plugin for Windows Mobile ? January 4, 2008, 7:17 am
how to Register For Msftmobile.com June 27, 2006, 4:42 am
How to detect codepage in windows mobile/windows CE? September 1, 2008, 11:42 am
WMP not Register 80040154 window ce 5.0 January 20, 2006, 9:50 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap