Re: [twsocket] Using WSocket in thread...

2008-08-30 Thread Ja
How do I work in blocking mode? Dnia 29 sierpnia 2008 23:52 Paul [EMAIL PROTECTED] napisał(a): Your thread needs a message pump, unless you work in blocking mode. Paul - Original Message - From: Ja To: Sent: Friday, August 29, 2008 11:27 PM Subject: [twsocket] Using

Re: [twsocket] Using WSocket in thread...

2008-08-30 Thread Arno Garrels
Ja wrote: How do I work in blocking mode? ICS works non-blocking: http://wiki.overbyte.be/wiki/index.php/Asynchronous_Paradigm Even though some upper level components support blocking mode as well it's suggested to work asynchronous. -- Arno Garrels [TeamICS]

Re: [twsocket] Using WSocket in thread...

2008-08-30 Thread Ja
Ok then, I really need it to be in thread, so what do I do to make my code work? Dnia 30 sierpnia 2008 9:18 Arno Garrels [EMAIL PROTECTED] napisał(a): Ja wrote: How do I work in blocking mode? ICS works non-blocking: http://wiki.overbyte.be/wiki/index.php/Asynchronous_Paradigm Even

Re: [twsocket] Using WSocket in thread...

2008-08-30 Thread Arno Garrels
Ja wrote: Ok then, I really need it to be in thread, so what do I do to make my code work? At first read this: http://wiki.overbyte.be/wiki/index.php/FAQ.MultiThreading If you still believe you have to run TWSocket in a thread you need a message loop (as Paul pointed out). Something like:

Re: [twsocket] Using WSocket in thread...

2008-08-30 Thread Ja
Thank you. WSocket1.MessageLoop; works great. Best regards, FlashT Dnia 30 sierpnia 2008 9:49 Arno Garrels [EMAIL PROTECTED] napisał(a): Ja wrote: Ok then, I really need it to be in thread, so what do I do to make my code work? At first read this:

[twsocket] A problem with SSL WSocket - WTH?

2008-08-30 Thread Ja
Hi, I was just programming my application, it compiled fine, everything was ok, but suddenly it stopped to be compalible... I didn't change anything in code, wth is going on? Even example isnt working... it says: [Error] Unit1.pas(11): Undeclared identifier: 'TSslWSocket' [Error]

Re: [twsocket] A problem with SSL WSocket - WTH?

2008-08-30 Thread Arno Garrels
Ja wrote: Hi, I was just programming my application, it compiled fine, everything was ok, but suddenly it stopped to be compalible... I didn't change anything in code, wth is going on? Even example isnt working... it says: [Error] Unit1.pas(11): Undeclared identifier: 'TSslWSocket'

Re: [twsocket] A problem with SSL WSocket - WTH?

2008-08-30 Thread Ja
Dnia 30 sierpnia 2008 13:50 Arno Garrels [EMAIL PROTECTED] napisał(a): That happens sometimes, no big deal :) Have you tried Rebuild all projects instead of Compile..? Also, it might help to set compiler directive {$IMPLICITBUILD OFF} in ICS package DPR file which equals option Explicit

Re: [twsocket] A problem with SSL WSocket - WTH?

2008-08-30 Thread Arno Garrels
Ja wrote: Dnia 30 sierpnia 2008 13:50 Arno Garrels [EMAIL PROTECTED] napisał(a): That happens sometimes, no big deal :) Have you tried Rebuild all projects instead of Compile..? Also, it might help to set compiler directive {$IMPLICITBUILD OFF} in ICS package DPR file which equals