Article View: free.it.visual-basic
Article #2562[HELP] WinInet.dll
From: alesimpa
Date: Thu, 03 Apr 2003 07:16
Date: Thu, 03 Apr 2003 07:16
12 lines
1755 bytes
1755 bytes
Piccolo problema con WinInet.dll... sto usando l'API InternetOpenUrl per verificare se sia possibile accedere ad un certo indirizzo... se immetto un indirizzo non valido, la funzione restituisce 0, e fin qua tutto bene. Volevo per� a questo punto recuperare le informazioni sulle cause dell'errore: ho pensato di usare la funzione InternetGetLastResponseInfo, ma sia il valore del codice dell'errore sia la stringa della descrizione non vengono toccate...in pratica non funziona! Nonostante questo, controllando le propriet� dell'oggetto Err, sono tutte vuote tranne la LastDllError, che contiene il codice di errore giusto. Ho provato ad usare anche la GetLastError, ma anche questa restituisce sempre 0. Qualcuno sa illuminarmi?
Technical Details
Message-ID:
<wdRia.66656$i26.2002155@news2.tin.it>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!news.mailgate.org!nntp.infostrada.it!news-out.tin.it!news-in.tin.it!news2.tin.it.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII X-Google-Thread: f94ee,c0b5996879d5e99a,start X-Google-Attributes: gidf94ee,public X-Google-ArrivalTime: 2003-04-02 23:19:00 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!news.mailgate.org!nntp.infostrada.it!news-out.tin.it!news-in.tin.it!news2.tin.it.POSTED!not-for-mail From: "alesimpa" <alesimpa@libero.it> Newsgroups: free.it.visual-basic Subject: [HELP] WinInet.dll Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: <wdRia.66656$i26.2002155@news2.tin.it> Date: Thu, 03 Apr 2003 07:16:44 GMT NNTP-Posting-Host: 80.181.61.252 X-Complaints-To: newsmaster@tin.it X-Trace: news2.tin.it 1049354204 80.181.61.252 (Thu, 03 Apr 2003 09:16:44 MET DST) NNTP-Posting-Date: Thu, 03 Apr 2003 09:16:44 MET DST Organization: TIN