Re: [twsocket] Problem with HTTPS

2009-05-04 Thread Arno Garrels
Fernando Gomes wrote: >> After the HttpsCli.Post I get the following error: SSL requires a >> context object. You have to assign property SslContext. HttpsCli.SslContext := SslContext; -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.

Re: [twsocket] Problem with HTTPS

2009-05-04 Thread Fernando Gomes
Anyone ?? > From: fcgome...@msn.com > To: twsocket@elists.org > Date: Mon, 4 May 2009 19:20:03 + > Subject: [twsocket] FW: Problem with HTTPS > > > > > I'm having trouble doing my Delphi application using the HTTPS protocol. > > Below is a piece of code I'm using: > > IniFile := TIni

Re: [twsocket] webpage image source

2009-05-04 Thread Xxxx Xxxx
Ok, this is exactly what I did per your advice: procedure TForm1.HttpCli1MainLocationChange(Sender: TObject); var HttpCli: THttpCli; begin HttpCli := Sender as THttpCli; HttpCli.RcvdStream.Destroy; HttpCli.RcvdStream := TMemoryStream.Create; end; Same problem still. Google.com still results in an

[twsocket] FW: Problem with HTTPS

2009-05-04 Thread Fernando Gomes
I'm having trouble doing my Delphi application using the HTTPS protocol. Below is a piece of code I'm using: IniFile := TIniFile.Create('.\wrclnbi.ini'); SslContext := TSslContext.Create(SslContext); SslContext.InitContext; HttpsCli := TSslHttpCli.Create(HttpsCli);

Re: [twsocket] webpage image source

2009-05-04 Thread Francois PIETTE
>I tried HttpCli1.RcvdStream := nil in OnLocationChange but the images > are still invalid. This doesn't remove content from RcvdStream, it just disable access by the component. You should instead clear the content (it depends on the type of stream you are using. You may also destroy and recreat

Re: [twsocket] webpage image source

2009-05-04 Thread Xxxx Xxxx
I tried HttpCli1.RcvdStream := nil in OnLocationChange but the images are still invalid. Any other ideas? <-Original Message-> >From: Francois PIETTE [francois.pie...@skynet.be] >Sent: 5/3/2009 2:08:43 PM >To: twsocket@elists.org >Subject: Re: [twsocket] webpage image source > >Probably

Re: [twsocket] OT: WM_USER or WM_APP

2009-05-04 Thread Wilfried Mestdagh
Hello Paul, use starting from WM_USER. You don't have to worry because you send / post messages to specific windows, so the right window will receive it. WM_USER = 0x400 WM_APP = 0x8000 Windows help say: Message numbers in the second range (WM_USER through 0x7FFF) can be defined and used by an