Maurizio Lotauro wrote: > Scrive Arno Garrels <arno.garr...@gmx.de>: > >> Hi Maurizio, > > Hi Arno, > >>> One API always fail with error 1003 >> >> Which one? Which line? > > When the GetProxyInfo is called. > You can try yourself, the code that I posted practically works out of > the box.
What is TInitializeAutoProxyDll? > >> From a very brief look: >> >>> TGetProxyInfo = function ( >> lpszUrl: LPCSTR; >> >> LPCSTR maps to either Ansi or Unicode, however you pass it a >> PAnsiChar URL? > > No, LPCSTR maps only to PAnsiChar. The type you are referring is > LPCTSTR. Arrgh, mixed up the types :) -- Arno Garrels > > > Bye, Maurizio. > > ---------------------------------------------------- > This mail has been sent using Alpikom webmail system > http://www.alpikom.it -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be