Re: [twsocket] Can't reconnect TftpClient

2006-08-10 Thread Francois Piette
> sorry to appear stupid but how do i use PostMessage? There are 4 things to do: 1) Define the message number (a constant starting from WM_USER) 2) Declare the message handler (usually in your form declaration) 3) Implement the message handler (what you want to do when the message is delivered) 4)

Re: [twsocket] Can't reconnect TftpClient

2006-08-10 Thread A49 Consultants
sorry to appear stupid but how do i use PostMessage? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Francois Piette Sent: 10 August 2006 12:54 To: ICS support mailing Subject: Re: [twsocket] Can't reconnect TftpClient > I suspect it is to do with where i c

Re: [twsocket] Can't reconnect TftpClient

2006-08-10 Thread Francois Piette
> I suspect it is to do with where i call it for the second time. Yes, indeed. But I can't help you much if you don't show your code. To start a second connection, I would do it from the OnRequestDone event when you get the reply from the Quit command. To be in the exact same situation as when you

Re: [twsocket] Can't reconnect TftpClient

2006-08-10 Thread A49 Consultants
Did that and test works properly by button press and so does my code provided I press a button to call the code. So for example if i want to upload twice then if i click the my upload button and let it cycle til it finishes then click it a second time that works perfectly. but if i try to get it to

Re: [twsocket] Can't reconnect TftpClient

2006-08-10 Thread Francois Piette
> FtpTst doesn't open properly, gives following error > > Error reading FtpClient1.BandwidthLimit: Property BandwidthLimit > Does not exist. and Error reading FtpClient1.BandwidthSampling: > Property BandwidthSampling Does not exist. You have two ICS versions on your system. One old and one newer.

Re: [twsocket] Can't reconnect TftpClient

2006-08-10 Thread A49 Consultants
FtpTst doesn't open properly, gives following error Error reading FtpClient1.BandwidthLimit: Property BandwidthLimit Does not exist. and Error reading FtpClient1.BandwidthSampling: Property BandwidthSampling Does not exist. How would i go about uninstalling package properly to reinstall? Thanks