Discussion:
Wininet async InternetOpen gives weird CL_EXCEPCION_FINAL_FUNCION
(too old to reply)
Flaxie
2007-08-27 08:22:02 UTC
Permalink
Hi,

Simple internetOpen function in wininet async mode will give me an first
change exception that doesn't crash the program or behave abnormally (I
hope).

Why?

Very simple code (console):
#include "stdafx.h"
#include <windows.h>
#include <wininet.h>


HINTERNET hInstance;

int _tmain(int argc, _TCHAR* argv[])
{
hInstance = InternetOpen("asynctests",
INTERNET_OPEN_TYPE_PRECONFIG,
NULL,
NULL,
INTERNET_FLAG_ASYNC);

return 0;
}

* Now, this simple code will give me an output note when I run the program:
First-chance exception at 0x7c812a5b in asynctest.exe: Microsoft C++
exception: CL_EXCEPCION_FINAL_FUNCION @ 0x0138d2e2.
after it loads:
asynctest.exe': Loaded 'C:\WINDOWS\system32\wshtcpip.dll', No symbols loaded.

* It happens in InternetOpen() function
* it doesn't crash the program or anything. The function works well.
* When I turn ASYNC off, it doesn't give me first change exception output.

I use VS 2005, xp sp2 all latest updates.
Galland
2007-10-17 11:23:01 UTC
Permalink
Don't worry, I bet you use "Panda AntiVirus + Firewall", your exception is
generated by Panda when you access Internet in order to check the safety of
the connection, it has nothing to do with your app.

Loading...