Re: Develop file system filter for windows mobile 6




Thanks for your help.

I tried to use Platform Builder for CE 6.0 (inside VS2005) to create a
BSP for Device Emulator (ARMV4I) and included fsdspy in the project. I
can compile the fsdspy.dll file. I tried to copy this fsdspy.dll file
to Windows Mobile 6 SDK's Emulator (\Windows) and added registry key :
[HKEY_LOCAL_MACHINE\System\StorageManager\Filters\fsdspy]
with value DLL=fsdspy.dll & Order=DWORD:1

After soft reset the emulator, I used Remote Process viewer to check
but can't see my fsdspy.dll used by filesys.exe.

Which part did I go wrong? Thanks for your help again!

Justy

GraemeW Wrote:
If you're using PB, copy the FSDspy folder from public to the platform
directory, edit the 'sources' file to link to a dll like this:

TARGETNAME=fsdspy
RELEASETYPE=PLATFORM
DLLENTRY=DllMain
TARGETTYPE=DYNLINK

INCLUDES= \
$(_TARGETPLATROOT)\src\inc

TARGETLIBS=\
$(_SYSGENSDKROOT)\lib\$(_CPUINDPATH)\coredll.lib \
$(_PROJECTROOT)\cesysgen\oak\lib\$(_CPUINDPATH)\FSDMGR.LIB

SOURCES=\
file.cpp \
main.cpp \
path.cpp \
find.cpp

and use 'build' from the command line. Else build it in EVC/VS2005 and
create a DLL project, link to the lib's above.

Careful as well as on WM you will have to edit the registry to include
your
driver as a filter, this registry editing is not in the pre-hive
section and
so the filesystem will be initialised before your register changes
take
effect. You *can* test your filter by using an sdcard as the filesystem
for
that is initialised when you plug in the card, so update the registry
to add
your filter, add the filter.dll, then insert the sdcard and it'll load
!

Good luck
Graeme



--
GraemeW
Blog - http://ce4all.blogspot.com


"justy" <justy.2ubpun@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:justy.2ubpun@xxxxxxxxxxxxxxxxxxxxxxxxxxxx

Hi all,

I tried to develop file system filter by using fsdspy as starting
point. All I want is build a fsdspy.dll and test it on Windows
Mobile
6 Device Emulator.

However, I'm quite confuse with the PB and WM6 SDK and don't know
how
to compile the fsdspy.dll which can be used in WM6's emulator.

Thanks!!!

Justy




.



Relevant Pages

  • Re: Getting linking errors for DllCanUnloadNow and DllGetClassObject
    ... i want to thnx everyone who helped me to solve this error specially ... dllentry and dllsetup base class in my source filter. ... A good way to make sure you are not missing any registry keys that eVC ...
    (microsoft.public.windowsce.platbuilder)
  • RE: Microstaff installation chaos!
    ... I'm still sifting through the registry information from ... >or filter driver. ... The Device Manager shows no devices. ...
    (microsoft.public.win2000.applications)
  • Re: Building Custom DirectShow Filters
    ... It seems the call to DllRegisterServer with the EZRGB24.dll is not producing ... the right registry entries. ... can do this for other objects, too, by changing the GUID and the Dll ... > unable to register the filter. ...
    (microsoft.public.windowsce.app.development)
  • Re: Getting linking errors for DllCanUnloadNow and DllGetClassObject
    ... As I said before, I have no experience with source filters, but just by looking at the names of the function I'd expect that the DllCanUnloadNow function returns true when the reference count is 0. ... A good way to make sure you are not missing any registry keys that eVC ... source filter with 6 different output pins for each codec ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Building Custom DirectShow Filters
    ... The only thing DllRegisterServer does is add that registry setting, ... >>> unable to register the filter. ... >>>>> unresolved external symbol DllGetClassObject ...
    (microsoft.public.windowsce.app.development)