Hi list,

I'm using Delphi 7 and I'm having a problem with the HttpCli component. 
I've had this component in an app for several years and use it to 'get' a 
simple file.  Just recently, and out of the blue, it stopped working.  When 
it first happened, I couldn't compile the application, stopping on the 
following line:

TAccept                = function (s: TSocket; addr: PSockAddr;
                                       addrlen: PInteger): TSocket; stdcall;

with the error message : [Error] WSOCKET.PAS(3213): Incompatible types: 
'sockaddr_in' and 'PSOCKADDR' [Fatal Error] EXRATE.PAS(66): Could not 
compile used unit 'WSocket.pas'

I did a Google search on this error and Francois' answer was that perhaps 
this fellow had messed up the folders in the installation or didn't have the 
correct path in the library.  Francois went on to say that you had to be 
sure you had the correct version of wsocket.pas for your Delphi version.

So, I downloaded the latest version of ICS (not beta), uninstalled the 
current version of ICS and installed the new version.  I did delete all of 
the ICS dcu files before reinstalling ICS.  After that, I could compile and 
everything looked OK at first.  But, when I run the application and the code 
attempts to 'get', I now get the following error:

Project Freesale.exe raised exception class EHTTPException with message 
'Can't resolve hostname to IP address."

I'm at a loss as to what's causing my problem.  I haven't changed any of the 
code in my app in the area where the file get is performed.  I'd be grateful 
if you could help me figure out where the problem is.

Thank You,
Harry 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to