Hi,
I'm working on a C++ program that is using memory mapped files quite a lot.
It has been running for years on PPC2002 and 2003, but on Windows Mobile 5
I'm having trouble. I have only tested it on one device, and it seems to work
-- but in the Visual Studio 2005 Pro (release version) device emulator it
crash'es every 3rd time I start it.
Some debugging shows that it is a call to CreateFileMapping that overwrites
global data in the application. The call itself succeeds, the file being
mapped and all is good, but it has trashed the heap totally. This happends
with both a Pocket PC 2003 build (running in WM5 emulator) and with the WM5
build. It has never happened to us in any other emulator, or any device. The
emulator ram is set to 256 Mb, which is way more than the application needs.
I have tried reinstalling both VS2005 and the WM5 SDK without any luck.
My question is this: Is this a bug in the WM5 ROM, and is there an update of
it coming anytime soon?
Any ideas?
Thanks,
::Ludvig A. Norin