Hi,
We're running eVC 3.0 and using the PocketPC 2000 emulator. Since we've
upgraded our Windows XP to SP2 we get access violations when a thread
execution finishes.
We've also found some other people that are running in the same problem that
we've just reported:
http://groups.google.ca/groups?hl=en&lr=&selm=OtvHgFXgEHA.3476%40tk2msftngp13.phx.gbl
For this prog:
DWORD TestFunc(LPVOID lpParameter)
{
return 0;
}
int WINAPI WinMain(
HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
HANDLE hThread = ::CreateThread(NULL, 0, TestFunc, NULL, 0, NULL);
WaitForSingleObject(hThread, INFINITE);
return 0;
}
We get this error while debugging:
User breakpoint called from code at 0x7c901230
This is shown in the debug windows of eVC:
HEAP[TestThread.exe]: Invalid Address specified to RtlFreeHeap( 00080000,
003965A0 )
First-chance exception in TestThread.exe (COREDLL.DLL): 0xC0000005:
Access Violation.
Is there any way to resolve this problem because we would really want to
continue using the PocketPC 2000 emulator and also upgrade our OS to Windows
XP SP2?
Thanks