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] http://www.overbyte.be/eng/overby

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

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: > http://wiki.overbyte.be/w

[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] Unit1.pas(11):

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: 'TSslWSoc

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

2008-08-30 Thread Arno Garrels
Arno Garrels wrote: > 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): Undec

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

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 fil