Re: [twsocket] FTP Failure

2007-11-26 Thread Dave Baxter
Passive Mode is the way to go, but some clients will still "trip up" it seems, notably IE in it'a various flavours. Make sure you have enough data ports forwarded in the router/firewall to the PC that your "Server application" is attached to. That should not be a problme testing your server from

Re: [twsocket] TWSocket component within DLL

2007-11-26 Thread Pete Williams
Just a quick question about this, should Multithreaded = TRUE or FALSE? Francois PIETTE wrote: > You need a message pump for event to fire. > To be independent of the DLL hosting application, you should probably put > all ICS code within a thread in the DLL, with the thread having his own > mess

Re: [twsocket] TWSocket component within DLL

2007-11-26 Thread Wilfried Mestdagh
Hello Pete, set it to True, then TWSocket uses his own mesage pump, otherwise the TApplication mesage pump is used. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz -- To unsubscribe or change your settings for TWSocket mailing list please go

[twsocket] Design isue

2007-11-26 Thread A Drent
Until now I alway build our applications using 'normal' sockets. Currently I've got an application server build which is running well for years now. Now I've modified the server so it is able to process soap messages. The soap messages are send by the webserver to the application server on anoth

[twsocket] Delphi 4

2007-11-26 Thread troppo gigio
Hi All, will the V6 version compatible with delphi 4 ? Ciao Luciano -- 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

Re: [twsocket] Delphi 4

2007-11-26 Thread Francois Piette
> will the V6 version compatible with delphi 4 ? I don't think so. It make use of Delphi features introduced with later versions. V6 was designed with D7 in mind. You should consider upgrading your Delphi to the current version (D2007). Contribute to the SSL Effort. Visit http://www.overbyte.be/e

Re: [twsocket] Delphi 4

2007-11-26 Thread troppo gigio
I've upgraded to Delphi 2005 but Delphi 4 is really faster than the others On 11/26/07, Francois Piette <[EMAIL PROTECTED]> wrote: > > > will the V6 version compatible with delphi 4 ? > > I don't think so. It make use of Delphi features introduced with later > versions. V6 was designed with D

Re: [twsocket] Delphi 4

2007-11-26 Thread Hoby Smith
FYI... I have upgraded to D2007 [finally]. Wow, it rocks! It is so fast, even with large numbers of installed components, especially compared to D2006. It seems to be as fast (and light?) as any Delphi I have ever used. And, of course, it is pretty stable on Vista (2006 was not). I greatly reco

Re: [twsocket] Delphi 4

2007-11-26 Thread Francois Piette
D2005 was not a good release. D2006 is much better and D2007 is even better (already several upgrades or hot fixes, don't forget to install those). D2007 is really the first product released by the new CodeGear entity with methods very different from the owner company Borland. CodeGear is back to w

Re: [twsocket] Delphi 4

2007-11-26 Thread Jack
Does D2007 still depend on .NET framework? D2005/2006 does depend on it even when it's run as Win32 personality. That slows things down quite a bit. This happens even together is not used. The IDE itself will load some .net modules. On Nov 26, 2007 7:56 AM, Francois Piette <[EMAIL PROTECTED]> wrot

Re: [twsocket] Delphi 4

2007-11-26 Thread Hoby Smith
Here is a link to the Online Installation notes for CodeGear RAD Studio 2007. http://dn.codegear.com/article/36859 It says that .Net 2.0 is a pre-requisite. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jack Sent: Monday, November 26, 2007 10:30 AM T

Re: [twsocket] Design isue

2007-11-26 Thread Wilfried Mestdagh
Hello Albert, You only need a threaded approach if you have to run very long code, meaning if your code (for example to parse incoming data, or to get data that need to be sent or so) is long (so blocking). when you write code in non threading design, the time your code is executing nothing else

[twsocket] I need some help understanding TWsocket states

2007-11-26 Thread Pete Williams
Hello again I'm trying to write a very simple client/server socket application using TWSocket. However, I think I may not understand the use of states correctly. What I want is for the client to connect to the server, send some data, and then disconnect. If it has more data to send, I want it t

Re: [twsocket] Design isue

2007-11-26 Thread [EMAIL PROTECTED]
Hello: To elaborate a little on what Wilfried said: Imagine your application running in a typical message pump: // Imagine this is the main loop of your app: Procedure TMyApp.Run() Begin While (ThereIsStuffToDo) Do Begin DoStuff(); Application.ProcessMessages(); End; End; Your a

Re: [twsocket] I need some help understanding TWsocket states

2007-11-26 Thread Arno Garrels
Hello Pete, The states are not that important, but the events are. Check this link: http://wiki.overbyte.be/wiki/index.php/Asynchronous_Paradigm and ask your questions here if it doesn't answer your question. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Pete Willia

Re: [twsocket] I need some help understanding TWsocket states

2007-11-26 Thread Wilfried Mestdagh
Hello Pete, > if myclient.state <> wsConnected then > begin > myclient.connect; > loop for 5 seconds begin You have to think async. TWSocket uses events. think on events as a OnClick event of a butten. You don't write loops to wait until a user click a button. So you have to change to:

Re: [twsocket] Design isue

2007-11-26 Thread Paul Ingelbrant
A Drent wrote: > engine, parsed and executed and result is sent back. So far so good. But I > wonder, when do I have to use a threaded approach. 'Long' and 'blocking' as > said in the ics sample is very vague for me. I ask this because of a > How about something like: Long time = time(Proces

[twsocket] parameter error in twsocket w/d2

2007-11-26 Thread Ron
I am using Delphi 2 c/s. I also got the "cannot assign to a read-only property" error when installing cslogger.pas. I found the following fix in one of the threads: "You can remove the offending line and /ADD/ the following two lines at the beginning of InternalOpenLogFile, just after Internal

Re: [twsocket] parameter error in twsocket w/d2

2007-11-26 Thread Francois Piette
> I am using Delphi 2 c/s. I also got the "cannot assign to a read-only > property" error when installing cslogger.pas. I found the following > fix in one of the threads: Just add the compiler option "writable constant" in the project options (Or {$J+} in the offending source code if memory serve