Hi,
I'm developing a Windows CE 6.00 (VS2005) application for an ARM (CIRRUS
EP9302). I've a problem adding the SYSGEN_MINGWES catalog item in debug
mode.
I've a solution that boots fine without Windows Messaging, but if I try to
add "SYSGEN_MINGWES" to the solution with IMGNOKITL = 0 and IMGNODEBUGER = 0
the boot stops and the debugger shows this during the loading of tcpstk.dll:
99753 PID:400002 TID:d30002 OSAXST1: >>> Loading Module 'tcpstk.dll'
(0x81BA59C0) at address 0xC0620000-0xC06F6000 in Process 'NK.EXE'
(0x81853AA0)
100049 PID:400002 TID:d30002 Exception 'Data Abort' (4):
Thread-Id=00d30002(pth=817698f8), Proc-Id=00400002(pprc=81853aa0) 'NK.EXE',
VM-active=01220002(pprc=817bceb8) 'shell.exe'
100049 PID:400002 TID:d30002 PC=c0105cf0(k.coredll.dll+0x00045cf0)
RA=c0104f48(k.coredll.dll+0x00044f48) SP=d028d864, BVA=c061ffff
111546 PID:400002 TID:d30002 Exception 'Raised Exception' (-1):
Thread-Id=00d30002(pth=817698f8), Proc-Id=00400002(pprc=81853aa0) 'NK.EXE',
VM-active=01220002(pprc=817bceb8) 'shell.exe'
111547 PID:400002 TID:d30002 PC=c00ec578(k.coredll.dll+0x0002c578)
RA=8010acfc(kernel.dll+0x00019cfc) SP=d028d02c, BVA=ffffffff
The debugger stops at this function:
inline void AsciiToUnicode (LPWSTR wchptr, LPCSTR chptr, int maxlen) in
"loader_core.h".
When the exception occours "chptr" is "Bad Ptr", instead when this function
is called by the loading of others dll "chptr" contains the dll name (ex.
"AFD.DLL").
If I build the solution in release mode Windows CE boots fine.
Can anyone help me to solve this problem? I need the debugger...
Thanks