nsHTTPConn *conn = new nsHTTPConn(szUrl);
nsHTTPConn *conn = new nsHTTPConn(szUrl, ProcessWndMsgCB);
int DownloadViaHTTP(char *szUrl){  int rv;  rv = nsHTTPConn::OK;  nsHTTPConn *conn = new nsHTTPConn(szUrl);  if(conn == NULL)  {    char szBuf[MAX_BUF_TINY];    GetPrivateProfileString("Strings", "Error Out Of Memory", "", szBuf, sizeof(szBuf), gszConfigIniFile);    PrintError(szBuf, ERROR_CODE_HIDE);    return(WIZ_OUT_OF_MEMORY);  }    if((rv = conn->Open()) != WIZ_OK)    return(rv);  rv = conn->Get(ProgressCB, NULL);  conn->Close();  if(conn)    delete(conn);  return(rv);}