Lazarus

Programming => Operating Systems => Windows CE => Topic started by: mmikac on December 26, 2009, 12:40:08 am

Title: WindowsMobile - memory card "event"?! (little off-topic)
Post by: mmikac on December 26, 2009, 12:40:08 am
Since I extensively use memory card in my CE app (user inserts memory card with new data when necessary and application reads it on start/activate) I would like to prepare their device and avoid any windows related issues..

The problem is that Windows Media player on WM6 (IPAQ 214, HTC Touch2...) automatically activates when memory card is inserted. I looked in the device registry but couldn't find any key responsible for it. Does someone know how to disable this feature on the device? My guess is there has to be a"flag" in registry or some ini file, but I just can't find it...

Title: Re: WindowsMobile - memory card "event"?! (little off-topic)
Post by: Zaher on December 26, 2009, 06:24:13 pm
In Windows not CE i remember

procedure WMDeviceChange(var Message: TMessage); message WM_DEVICECHANGE;

http://www.pocketpcjunkies.com/Uwe/Forum.aspx/wince-dev/2814/Storage-Card-removal

Check it and tell us.