Hi guys,
Found this thread while searching to solve my problem ...
anyone an idea why this snipet leaks?
void testMemoryLeak()
{
HINTERNET hSession = WinHttpOpen(NULL, WINHTTP_ACCESS_TYPE_NO_PROXY, WINHTTP_NO_PROXY_NAME, WINHTTP_NO_PROXY_BYPASS, 0);
WinHttpCloseHandle(hSession);
}
a 20'000 loop brings memory up to 19MB
VS2008 on Win7/64 building a console application Win32
Cheers
Claus