
December 29th, 2004, 01:27 PM
|
|
Contributing User
|
|
Join Date: Feb 2004
Posts: 36
Time spent in forums: 2 m 46 sec
Reputation Power: 5
|
|
|
Popular auto update code not working?
Hi everyone, I was looking at this auto update code (one of the first results for delphi auto update) which is found at http://delphi.about.com/od/internet...l/aa013001a.htm . and my compiler told me "[Hint] Unit1.pas(35): Value assigned to 'GetInetFile' never used" so I decided to try it without my internet by releasing my IP (it works fine with the internet). And at first, to my surprise, it downloaded the file anyway! Then I figured it might be downloading the the cache or something (do you think it would only do that if it couldn't connect? I wouldn't want to auto update to an old version heh) but when I tried a new website, it gave me this "I/O error 1784". So I guess delphi was right, it's erroring out instead of using the custom error built into the function. Does that compile ok for you guys? And do you have any ideas for a fix?
|