I am trying to build a filesystem filter using CE's FSDSPY as a starting point, but at the moment I cannot get it working. I feel that I'm very close:
I have compiled the dll with VS2005, set up the registry to load the filter, and filesys.exe loads the DLL after a soft reset (in the Pocket PC 2003 emulator). I can tell it's running because it appears in filesys.exe's modules via the Remote Process Viewer.
However, whenever the filter is loaded, any access to the flash card (NAND or "storage card") yields "Access denied" messages and no programs can read or write to the card. Whenever I disable the DLL, the flash card works perfectly. Thus, I assume the DLL is failing in some way, but I'm not sure how.
In my attempts to fix the problem, I have commented out all references to the DEBUGMSG macro since Pocket PC supposedly doesn't support a debug console, but that didn't help.
Any ideas?
I have compiled the dll with VS2005, set up the registry to load the filter, and filesys.exe loads the DLL after a soft reset (in the Pocket PC 2003 emulator). I can tell it's running because it appears in filesys.exe's modules via the Remote Process Viewer.
However, whenever the filter is loaded, any access to the flash card (NAND or "storage card") yields "Access denied" messages and no programs can read or write to the card. Whenever I disable the DLL, the flash card works perfectly. Thus, I assume the DLL is failing in some way, but I'm not sure how.
In my attempts to fix the problem, I have commented out all references to the DEBUGMSG macro since Pocket PC supposedly doesn't support a debug console, but that didn't help.
Any ideas?