Hi all,
when i launch this piece of code (WinCE6 version) :
if ( DeviceIoControl
(hServices,ui32Function,pvParamIn,ui32InBufferSize,
pvParamOut,ui32OutBufferSize,&ui32BytesReturned,
NULL) == FALSE) {
LPVOID lpMsgBuf;
FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER |
FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS,
NULL, GetLastError(),
0, // Default language
(LPTSTR) &lpMsgBuf,
0, NULL);
LocalFree (lpMsgBuf);
ui32RetVal = 0xFFFF;
}
then, i have got an error at the line LocalFree(), and a break point at
:
Coredll: DEBUGCHK failed in file
C:\ymzki\private\winceos\COREOS\core\lmem\.\rheap.cpp at line 1344
Olivier