HINTERNET Sesion1,Sesion2,Conexion1,Conexion2,Query1,Query2;
char *CabeceraWeb = "Content-Type: text/html; charset=ISO-8859-1";
char *Datos = "user=nombreeeed&passwrd=passs";
char *Men = "message=Mensaje del tema&subject=Tituloooooooooooooooo";
Sesion1 = InternetOpen("MyAgen",INTERNET_OPEN_TYPE_PRECONFIG,NULL,NULL,0);
Conexion1 = InternetConnect(Sesion1,"foro.loquesea.com",INTERNET_DEFAULT_HTTP_PORT,NULL,NULL,INTERNET_SERVICE_HTTP,0,1);
Query1 = HttpOpenRequest(Conexion1,"POST","/login2.html",NULL,NULL,NULL,INTERNET_FLAG_NO_CACHE_WRITE,1);
bool Fun1 = HttpSendRequest(Query1,CabeceraWeb,strlen(CabeceraWeb),Datos,strlen(Datos));