|
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
>
|