Re: [twsocket] Report a strange problem about using TsslHttpCli(ICSv7)in Delphi 2010 thread.

2009-10-06 Thread Tobias Rapp
Arno Garrels wrote: > Tobias Rapp wrote: > > Can you give details why a call to PeekMessage() should be added > > here? > > Not necessarily, but it's good practice to initialize the queue as > soon as possible in order not to miss any message. Ok, I understand now. It's not strictly necessary b

Re: [twsocket] Report a strange problem about using TsslHttpCli(ICSv7)in Delphi 2010 thread.

2009-10-06 Thread Arno Garrels
Tobias Rapp wrote: > Arno Garrels wrote: > >> procedure TTestThread.Execute; >> var >> Msg: TMsg; >> begin >> // PeekMessage(Msg, 0, 0, 0, PM_NOREMOVE); // Initialize thread's >> message queue >> >> FHandle := Classes.AllocateHWnd(WndProc); // Create a hidden window >> [...] > > Can you g

Re: [twsocket] Report a strange problem about using TsslHttpCli(ICSv7)in Delphi 2010 thread.

2009-10-06 Thread Tobias Rapp
Arno Garrels wrote: > procedure TTestThread.Execute; > var > Msg: TMsg; > begin > // PeekMessage(Msg, 0, 0, 0, PM_NOREMOVE); // Initialize thread's message > queue > > FHandle := Classes.AllocateHWnd(WndProc); // Create a hidden window > [...] Can you give details why a call to PeekMessag

Re: [twsocket] Report a strange problem about using TsslHttpCli(ICSv7)in Delphi 2010 thread.

2009-10-04 Thread isgbuddy
OK. Anyway, Thank for your help. Arno Garrels wrote: isgbuddy wrote: Hoho, Many thanks. These code exactly worked. Why the same code don't have problem in Delphi 7? Can you fix these code to ICS source? My code below does not work with Delphi 7 as well. You probably used ICS V5 wit

Re: [twsocket] Report a strange problem about using TsslHttpCli(ICSv7)in Delphi 2010 thread.

2009-10-04 Thread Arno Garrels
isgbuddy wrote: > Hoho, > > Many thanks. These code exactly worked. > > Why the same code don't have problem in Delphi 7? Can you fix these > code to ICS source? My code below does not work with Delphi 7 as well. You probably used ICS V5 with Delphi 7. I guess that the V5 components did not crea

Re: [twsocket] Report a strange problem about using TsslHttpCli(ICSv7)in Delphi 2010 thread.

2009-10-04 Thread isgbuddy
Hoho, Many thanks. These code exactly worked. Why the same code don't have problem in Delphi 7? Can you fix these code to ICS source? Arno Garrels wrote: isgbuddy wrote: You don't need a Chinese windows. You just install East Asian input method in your windows. Then you will get this is

Re: [twsocket] Report a strange problem about using TsslHttpCli(ICSv7)in Delphi 2010 thread.

2009-10-04 Thread Arno Garrels
isgbuddy wrote: > You don't need a Chinese windows. You just install East Asian input > method in your windows. Then you will get this issue. Ok, finally it repeated. The problem is that the thread requires a message pump if it owns a window. It is _neither_ a problem related to ICS nor to Delph

Re: [twsocket] Report a strange problem about using TsslHttpCli(ICSv7)in Delphi 2010 thread.

2009-10-03 Thread isgbuddy
You don't need a Chinese windows. You just install East Asian input method in your windows. Then you will get this issue. Arno Garrels wrote: Bricksoft - Frank wrote: No. Create method don't halt. But application is halt. You can try these code in any OS that having Chinese input. I

Re: [twsocket] Report a strange problem about using TsslHttpCli(ICSv7)in Delphi 2010 thread.

2009-10-03 Thread Fastream Technologies
Hi, I was thinking of Windows being unicode... Isn't it possible to enter Chinese characters with Arial on all Windows'? Regards, SZ On Sat, Oct 3, 2009 at 6:34 PM, Arno Garrels wrote: > Bricksoft - Frank wrote: > > No. Create method don't halt. But application is halt. You can try > > these

Re: [twsocket] Report a strange problem about using TsslHttpCli(ICSv7)in Delphi 2010 thread.

2009-10-03 Thread Arno Garrels
Bricksoft - Frank wrote: > No. Create method don't halt. But application is halt. You can try > these code in any OS that having Chinese input. I don't have a Chinese Windows installation for testing. What do you mean by "Halt"? Please be more specific. What Windows version do you use? -- Arno Ga