[twsocket] SetThreadDesktop with ICS

2006-08-14 Thread Paul
Hi, a bit off topic, but I have problems using SetThreadDesktop() api. It returns error 170 = The requested resource is in use. Is this because ICS uses hidden windows ? Paul -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] SetThreadDesktop with ICS

2006-08-14 Thread Arno Garrels
Paul wrote: Hi, a bit off topic, but I have problems using SetThreadDesktop() api. It returns error 170 = The requested resource is in use. Is this because ICS uses hidden windows ? The online help seems to confirm that. This function will fail if the calling thread has any windows or

Re: [twsocket] SetThreadDesktop with ICS

2006-08-14 Thread Paul
@elists.org Sent: Monday, August 14, 2006 4:20 PM Subject: Re: [twsocket] SetThreadDesktop with ICS Paul wrote: Hi, a bit off topic, but I have problems using SetThreadDesktop() api. It returns error 170 = The requested resource is in use. Is this because ICS uses hidden windows

Re: [twsocket] SetThreadDesktop with ICS

2006-08-14 Thread Arno Garrels
mailing twsocket@elists.org Sent: Monday, August 14, 2006 4:20 PM Subject: Re: [twsocket] SetThreadDesktop with ICS Paul wrote: Hi, a bit off topic, but I have problems using SetThreadDesktop() api. It returns error 170 = The requested resource is in use. Is this because ICS uses hidden

Re: [twsocket] SetThreadDesktop with ICS

2006-08-14 Thread Arno Garrels
Arno Garrels wrote: Paul wrote: That means I have to free all http clients, switch to a new desktop and recreate everything, and continue the existing communications ! Nearly impossible. Is there no other way to do this ? You may try to call ThreadDetach instead which destroys TWSocket's

Re: [twsocket] SetThreadDesktop with ICS

2006-08-14 Thread Paul
So I have to use ThreadDetach bor both TWSocket and HttpCli ? Paul - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, August 14, 2006 5:07 PM Subject: Re: [twsocket] SetThreadDesktop with ICS Arno Garrels wrote: Paul

Re: [twsocket] SetThreadDesktop with ICS

2006-08-14 Thread Arno Garrels
, may be Francois jumps in here. Paul - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, August 14, 2006 5:07 PM Subject: Re: [twsocket] SetThreadDesktop with ICS Arno Garrels wrote: Paul wrote: That means I