Re: [twsocket] Freeze when using smtp after recreating itsparentform

2007-01-26 Thread Henrik
22:44 Till: 'ICS support mailing' Ämne: Re: [twsocket] Freeze when using smtp after recreating itsparentform I thought it was figured out that dynamically unloading and reloading the dll was the problem, which other components probably don't do, and I think you were given a workaround that worked

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2007-01-26 Thread Henrik
] [mailto:[EMAIL PROTECTED] För Arno Garrels Skickat: den 25 januari 2007 18:09 Till: ICS support mailing Ämne: Re: [twsocket] Freeze when using smtp after recreating itsparentform Strange logic Henrik, Even Microsoft's Works doesn't/didn't work with this buggy, API hooking Embassy Trust Suite pre

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2007-01-26 Thread Arno Garrels
Henrik wrote: Hi Arno! As I've said before Arno, You're a funny guy, though I'm sure unintentionally. Doesn't seem so long ago You kept going on with viruses and trojans and didn't even seem to read the note I made about that we were able to duplicate ICS's problems with the environment

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2007-01-26 Thread Paul Ingelbrant
Can't help myself... just have to comment this... (sorry) You can read in earlier mails why I do not want the dll to be loaded at all time. 1) You didn't want a dll linked to _your application_ even when you can be pretty sure that the DLL itself is already loaded in memory at all times

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2007-01-25 Thread Henrik
Hi Arno and others! Some of the heavy work load I experienced a while ago has decreased a bit so I thought that I should take the opportunity to thank You ALL that tried to help me. At the end the solution for me was to use another smtp component. Sorry about that. (As a request by Francois

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2007-01-25 Thread Arno Garrels
Strange logic Henrik, Even Microsoft's Works doesn't/didn't work with this buggy, API hooking Embassy Trust Suite pre-installed on newer DELL systems. Possibly they already fixed it in some service pack? If not, someone/we should report the bug to either DELL or Wave Systems. I was hoping that

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2007-01-25 Thread Dan
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Henrik Sent: 25 January 2007 16:42 To: 'ICS support mailing' Subject: Re: [twsocket] Freeze when using smtp after recreating itsparentform Hi Arno and others! Some of the heavy work load I experienced a while

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-25 Thread Arno Garrels
Henrik wrote: Hi Arno! ProcessExplorer: I only find two dll's that I'm not certain what they do: - detoured.dll - wxvault.dll (Embassy Trust Suite by Wave Systems. Apparently installed by default by Dell) Henrik, The problem is *not a bug in ICS*. Instead another process injects

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-22 Thread Henrik
Thank You Bjørnar! God Jul! // Henrik -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Bjørnar Nielsen Skickat: den 21 december 2006 17:54 Till: 'ICS support mailing' Ämne: Re: [twsocket] Freeze when using smtp after recreating itsparentform I'm not sure

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-21 Thread Henrik
Hi Wilfried and Francois! Wilfried wrote: But you can safely use ForceLoadWinsock ! There is absolutely no problem to use it. Only me (we) wanted to dig out where the problem is. ForceLoadWinsock did solve the problem as I recall some days ago. Francois wrote: I saw that using

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-21 Thread Henrik
that appears on some machines... Thank You very much! Best Regards Henrik -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Bjørnar Nielsen Skickat: den 19 december 2006 17:39 Till: 'ICS support mailing' Ämne: Re: [twsocket] Freeze when using smtp after

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-21 Thread Henrik
anything has been sent... Best Regards Henrik -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Arno Garrels Skickat: den 19 december 2006 16:24 Till: ICS support mailing Ämne: Re: [twsocket] Freeze when using smtp after recreating itsparentform Henrik wrote

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-21 Thread Francois Piette
We have now discovered that: Yes, the error do not arise when using WSocketForceLoadWinsock or having the smtp component on the main form (or creating a dummy smtp component at runtime and let it exist while the application is running). WSocketForceLoadWinsock immediately load the DLL. If you

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-21 Thread Arno Garrels
hangs before anything has been sent... Best Regards Henrik -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:twsocket- [EMAIL PROTECTED] För Arno Garrels Skickat: den 19 december 2006 16:24 Till: ICS support mailing Ämne: Re: [twsocket] Freeze when using smtp after

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-21 Thread Bjørnar Nielsen
] On Behalf Of Henrik Sent: 21. desember 2006 15:55 To: 'ICS support mailing' Subject: Re: [twsocket] Freeze when using smtp after recreating itsparentform Hi Bjørnar! I've not been experiencing any problem with character replacement (å-e, ä-d and ö-v) with ICS components, only Indy 9 and only

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-21 Thread Arno Garrels
: [twsocket] Freeze when using smtp after recreating itsparentform Henrik wrote: Arno, Can you rule out that an application that has set a global hook is actually working correctly? i.e. RealVNC server injects a wm_hook.dll into each process space, if such interception was buggy one can imagine

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-19 Thread Henrik
Arno, See answers below... // Henrik -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Arno Garrels Skickat: den 18 december 2006 19:40 Till: ICS support mailing Ämne: Re: [twsocket] Freeze when using smtp after recreating itsparentform (According

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-19 Thread Henrik
a Merry Christmas! Best Regards Henrik -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Wilfried Mestdagh Skickat: den 18 december 2006 17:44 Till: ICS support mailing Ämne: Re: [twsocket] Freeze when using smtp after recreating itsparentform Hello Henrik

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-19 Thread Francois Piette
I tested the NUMPROC=1 but with no difference I'm afraid... Well, perhaps we've done what we can for now. As I've said before: Thank You very much for Your efforts! I can not spend so many more days on this now (the same for You I would imagine) I have not read the whole thread but I saw

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-19 Thread Arno Garrels
Henrik wrote: Arno, Can you rule out that an application that has set a global hook is actually working correctly? i.e. RealVNC server injects a wm_hook.dll into each process space, if such interception was buggy one can imagine that it would hurt, ICS may be hit especially since TWSocket is

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-19 Thread Wilfried Mestdagh
Hello Henrik, I can not spend so many more days on this now (the same for You I would imagine) so I'm planning to return to Indy as long as I can solve their But you can safely use ForceLoadWinsock ! There is absolutely no problem to use it. Only me (we) wanted to dig out where the problem is.

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-19 Thread Bjørnar Nielsen
I use the same component and send norwegian, swedish and even chinese chars in the subject (but Outlook can't show chinese in the subject on my computer). Use Quoted printable or Base64 to encode special chars. Example for Base64 could be like this (C++): HtmlSmtpCli1-HdrSubject = =?utf-8?B? +

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-18 Thread Henrik
PROTECTED] [mailto:[EMAIL PROTECTED] För Wilfried Mestdagh Skickat: den 16 december 2006 12:59 Till: ICS support mailing Ämne: Re: [twsocket] Freeze when using smtp after recreating itsparentform Hello Henrik, I have no idea anymore. As test I made a little application in Delphi. Please download

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-18 Thread [EMAIL PROTECTED]
(second time. Host=smtp.bredband.net) 00C83960 DNS Lookup for smtp.bredband.net Freeze/Hang but possible to move window Honestly, it looks like the sort of TCP/IP issues I used to experience when using Win95: at times, an exception during a network transaction would crash the TCP/IP

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-18 Thread Wilfried Mestdagh
] [mailto:[EMAIL PROTECTED] För Wilfried Mestdagh Skickat: den 16 december 2006 12:59 Till: ICS support mailing Ämne: Re: [twsocket] Freeze when using smtp after recreating itsparentform Hello Henrik, I have no idea anymore. As test I made a little application in Delphi. Please download

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-18 Thread Henrik
Skickat: den 18 december 2006 13:46 Till: ICS support mailing Ämne: Re: [twsocket] Freeze when using smtp after recreating itsparentform Hello Henrik, So it hangs in the TWSocket.DNSLookup, and OnDNSLookupDone is never fired. You could try also by filling in the IP address of the smtp server

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-18 Thread Wilfried Mestdagh
Hello Henrik, use the same test with Indy everything works fine! What is ICS doing that none of the other smtp components or applications are not? Indy and many others use blocking calls to winsock while ICS uses the non blocking calls. I suggest you keep on using the ForceLoadWinsock to keep

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-18 Thread Henrik
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Wilfried Mestdagh Skickat: den 18 december 2006 15:46 Till: ICS support mailing Ämne: Re: [twsocket] Freeze when using smtp after recreating itsparentform Hello Henrik, use the same test with Indy everything works fine! What is ICS doing that none

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-18 Thread Francois Piette
One thing that troubles me is that smtp-components from other vendors works fine also on the computers where ICS gets into trouble. What is ICS doing that none of the other smtp components or applications are not? Dynamically load/unload WinSock when needed ? Contribute to the SSL Effort.

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-18 Thread Henrik
: [twsocket] Freeze when using smtp after recreating itsparentform One thing that troubles me is that smtp-components from other vendors works fine also on the computers where ICS gets into trouble. What is ICS doing that none of the other smtp components or applications are not? Dynamically

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-18 Thread Wilfried Mestdagh
Hello Henrik, It could be an error in the Winsock load/unload of ICS. Or a windows bug for the dynamically load / unload. Or a winsock bug because of the dual cpu. Or some combination. The latter is easy to test. Put in boot.ini: /NUMPROC=1 or /ONECPU and reboot. --- Rgds, Wilfried [TeamICS]

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-18 Thread Arno Garrels
Henrik wrote: (According to Arno he had tested the example procedure we have been talking about on a computer with Intel Dual Core and XP without any problems. Correct. since he continued to talk about external issues... :-) Correct, since we cannot be sure that you tried everything you

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-16 Thread Wilfried Mestdagh
: [twsocket] Freeze when using smtp after recreating itsparentform Hello Henrik, What you could do is set in IDE some breakpoints at the places the dll is loaded / unloaded. To see if this mechanism is working fine on the offending machines. It is a counter that increment / decrement to decide

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-15 Thread Henrik
Hi Frans! Thank You for the input! No it doesn't seem to be any default units added. These are the units used in the example project MailSnd from ICS. MailSnd1.pas: WinTypes, WinProcs, Messages, SysUtils, Classes, Controls, Forms, StdCtrls, ExtCtrls, SmtpProt,

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-14 Thread Henrik
PROTECTED] [mailto:[EMAIL PROTECTED] För Bjørnar Nielsen Skickat: den 13 december 2006 21:43 Till: 'ICS support mailing' Ämne: Re: [twsocket] Freeze when using smtp after recreating itsparentform I have not paid very much attention to this duscussion, but I want to say something about using ICS on many

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-14 Thread Henrik
PROTECTED] För Arno Garrels Skickat: den 13 december 2006 17:52 Till: ICS support mailing Ämne: Re: [twsocket] Freeze when using smtp after recreating itsparentform Henrik, am not willing to accept that it isn't possible to use ICS components on all computers. I won't accept that too, but nobody

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-14 Thread Henrik
-Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Wilfried Mestdagh Skickat: den 14 december 2006 11:01 Till: ICS support mailing Ämne: Re: [twsocket] Freeze when using smtp after recreating itsparentform Hello Henrik, this is frustrating :( When the trace dissapears

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-14 Thread Arno Garrels
Wilfried Mestdagh wrote: Hello Henrik, this is frustrating :( Welcome to the club. I can do a test on several computers if you want. Please include in your mail the steps nececary to reproduce the problem. I wanted to help as well, but on 3 boxes here NT4 SP6a, W2K SP4, XP SP2

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-14 Thread Wilfried Mestdagh
Hello Arno, Just received the compiled demo from Henrik. Tested on same boxes as you did, nothing reproducable :( Tryed with the compiled exe from Henrik as with recompiling from in IDE. Something not good: In FormCreate of the ICS form there is an appllication wide exception handler assigned

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-14 Thread Wilfried Mestdagh
Hello Henrik, * My workaround so far is to create another smtp component that exists all the time the application is running. I now discovered that this is also true with the Wsocket component. For instance put it on the main form and everything works on all computers. Could it be

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-14 Thread Arno Garrels
Forgot to mention that the XP box below has a Dual-Core Intel CPU, that should by very close to Henrik's Dell box. Arno Garrels wrote: Wilfried Mestdagh wrote: Hello Henrik, this is frustrating :( Welcome to the club. I can do a test on several computers if you want. Please include

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-14 Thread Henrik
- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Wilfried Mestdagh Skickat: den 14 december 2006 14:56 Till: ICS support mailing Ämne: *SPAM* Re: [twsocket] Freeze when using smtp after recreating itsparentform Hello Arno, Just received the compiled demo from Henrik. Tested on same

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-14 Thread Henrik
:[EMAIL PROTECTED] För Wilfried Mestdagh Skickat: den 14 december 2006 15:00 Till: ICS support mailing Ämne: Re: [twsocket] Freeze when using smtp after recreating itsparentform Hello Henrik, * My workaround so far is to create another smtp component that exists all the time the application

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-14 Thread Arno Garrels
Wilfried Mestdagh wrote: Could it be the loading of Winsock dll ? That's obviously true, since it's the only effect I can imagine that the secondary instance could have. Is Winsock still the origin DLL, or has it been replaced by a Virus ;-) ? --- Arno Garrels [TeamICS]

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-14 Thread Wilfried Mestdagh
Ok, so it is working, but still remains the question wy the dynamically loading of winsock should not work as it should on some machines ? Arno, you mention a virus, but should it then work with the ForceLoadWinsock ? I recall virusses that did some things with the TCP stack, but it was more the

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-14 Thread Henrik
meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Wilfried Mestdagh Skickat: den 14 december 2006 16:10 Till: ICS support mailing Ämne: Re: [twsocket] Freeze when using smtp after recreating itsparentform Ok, so it is working, but still remains the question wy the dynamically

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-14 Thread Wilfried Mestdagh
Hello Henrik, What you could do is set in IDE some breakpoints at the places the dll is loaded / unloaded. To see if this mechanism is working fine on the offending machines. It is a counter that increment / decrement to decide if winsock should be load or unload. That's the best idea I have so

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-14 Thread Frans van Daalen
So how to proceed? Can we come up with some other test scenarios? The answer must have something to do with _how_ ICS load the dll... or any other ideas? // Henrik Henrik, any default units that gets automatically added in your project like madexcept or fastmm4 ? -- To unsubscribe or

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-14 Thread Arno Garrels
Wilfried Mestdagh wrote: Ok, so it is working, but still remains the question wy the dynamically loading of winsock should not work as it should on some machines ? Arno, you mention a virus, but should it then work with the ForceLoadWinsock ? I know it doesn't make much sense, there

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-14 Thread Henrik
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Wilfried Mestdagh Skickat: den 14 december 2006 16:31 Till: ICS support mailing Ämne: Re: [twsocket] Freeze when using smtp after recreating itsparentform Hello Henrik, What you could do is set in IDE some breakpoints at the places the dll is loaded

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-14 Thread Arno Garrels
] [mailto:twsocket- [EMAIL PROTECTED] För Wilfried Mestdagh Skickat: den 14 december 2006 16:10 Till: ICS support mailing Ämne: Re: [twsocket] Freeze when using smtp after recreating itsparentform Ok, so it is working, but still remains the question wy the dynamically loading of winsock should

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-14 Thread Arno Garrels
-Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:twsocket- [EMAIL PROTECTED] För Wilfried Mestdagh Skickat: den 14 december 2006 16:31 Till: ICS support mailing Ämne: Re: [twsocket] Freeze when using smtp after recreating itsparentform Hello Henrik, What you

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-13 Thread Henrik
: [twsocket] Freeze when using smtp after recreating itsparentform Henrik, I still guess that it's caused by any crap process running on this box. Why else does it not happen on other computers as well? [Henrik]: It does happen on other computers. I assure You that the one I use were I get the same

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-13 Thread Arno Garrels
Henrik, am not willing to accept that it isn't possible to use ICS components on all computers. I won't accept that too, but nobody from this list has confirmed the problem and nobody seems to know how to solve it. So it would help a lot if you could find the error condition. --- Arno

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-13 Thread Bjørnar Nielsen
I have not paid very much attention to this duscussion, but I want to say something about using ICS on many diffent computers and different platforms. My company have made software based on ICS that run on W95, W98, NT, W2000, WXP and Vista. The components used is HttpCli, SMTPCli, HtmlSMTPCli,

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-12 Thread Henrik
Question: We do understeand the word 'Freeze' the right way ? Form cannot moved, closed, application cannot quit, etc... Right ? It was writen in some previous posting that the application was then at 50% cpu, so on a hyperthreaded cpu, the application is in some fast loop, i gues

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-12 Thread Frans van Daalen
Question: We do understeand the word 'Freeze' the right way ? Form cannot moved, closed, application cannot quit, etc... Right ? It was writen in some previous posting that the application was then at 50% cpu, so on a hyperthreaded cpu, the application is in some fast loop, i gues

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-12 Thread Arno Garrels
Henrik, I still guess that it's caused by any crap process running on this box. Why else does it not happen on other computers as well? I don't know the Norman software, but have you tried to uninstall it? I would also check the auto-started processes as well and turn them off one after the

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-12 Thread Clay Shannon
I still guess that it's caused by any crap process running on this box. It sounds like you have a toilet hooked up to your computer. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If the

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-11 Thread Frans van Daalen
I normally just call .free never used .released. You have to use Release when called from an event handler which originate from the form you are freeing. Release make sure all curent events are processed. Free does an immediate free which will crash the application if one event handler is

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-11 Thread Frans van Daalen
Hi Frans! Yes, each time You press the button the form is created and then released. You also get the same problem if You set Action to caFree in the OnClose of the created form. Sorry, for not expressing myself any better. My question was If you run the debug and while entring the buttonclick

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-11 Thread Arno Garrels
Henrik, Hmm, your 'workaround' doesn't sound logical, why should a secondary instance of a _V5_ component have any effects, strange? Do you close the SMTP-form while mail is been sent? Is the SMTP-form yet destroyed when you create another one? When does it freeze exactely (try the buttons on the

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-11 Thread Henrik
: [twsocket] Freeze when using smtp after recreating itsparentform [Message from Arno included above...] --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Henrik wrote: Hi Arno and thank You for the reply! I use V2.32 of SmtpProt.pas (the one You get when clicking Download

Re: [twsocket] Freeze when using smtp after recreating itsparentform

2006-12-11 Thread Marcelo Grossi
Hi, Procedure Variable is a variable that has scope only for a given procedure. Example: procedure MyForm.ButtonSendMailClick(Sender : TObject); var MySendMailForm : TMySendMailForm; -- Procedure Variable, for its only accessible inside this procedure (ButtonSendMailClick)... begin