Hi,
I working on a very simple prototype to intercept file system change
messages on my Pocket PC.
When I use the SHGetSpecialFolderLocation function, I get a
MissingMethodException.
What am I doing wrong? If anybody has sample code how to receive fife system
notifiations, tat would be even better..
Here's my code:
[DllImport("shell32.dll")]
private static extern uint SHGetSpecialFolderLocation(IntPtr hWnd, int
nFolder, out IntPtr Pidl);
public static IntPtr GetPidlFromFolderID(IntPtr hWnd, int Id)
{
IntPtr pIdl = IntPtr.Zero;
uint myvalue = SHGetSpecialFolderLocation(hWnd, Id, out pIdl);
}
Thanks,
michael
Mattias Sj?gren - 26 Apr 2004 21:10 GMT
Michael,
Are you sure the dll name isn't different on Pocket PC? It seems most
WinCE APIs are implemented in Coredll.dll.
Mattias

Signature
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.