[twsocket] NOFORMS

2007-07-16 Thread Paul
Do I need to define NOFORMS in a thread when a blocking call (Http-Get) is used ? I'm using it without in a thread and it works fine (using it 2 years) I need to exchange a lot of database connections to webservice connections and the main thread doesn't need the NOFORMS define. I would need a

Re: [twsocket] NOFORMS

2007-07-16 Thread Francois Piette
Do I need to define NOFORMS in a thread when a blocking call (Http-Get) is used ? I'm using it without in a thread and it works fine (using it 2 years) I need to exchange a lot of database connections to webservice connections and the main thread doesn't need the NOFORMS define. I would need

Re: [twsocket] NOFORMS

2007-07-16 Thread Paul
I always thaught that NOFORMS had to be defined for its own thread-save window allocation proc (and dealloc) So as long as the Forms unit in included in the project's uses clause, I don't need to define NOFORMS in any of the threads ? Paul - Original Message - From: Francois Piette

Re: [twsocket] NOFORMS

2007-07-16 Thread Wilfried Mestdagh
Hello Paul, So as long as the Forms unit in included in the project's uses clause, I don't need to define NOFORMS in any of the threads ? correct --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz -- To unsubscribe or change your settings

Re: [twsocket] NOFORMS

2007-07-16 Thread Arno Garrels
Paul wrote: I always thaught that NOFORMS had to be defined for its own thread- save window allocation proc (and dealloc) That's correct for V5! It depends on the version, V6 uses its own thread-safe window allocation/deallocation routines regardless whether NOFORMS is defined or not. In

Re: [twsocket] NOFORMS

2007-07-16 Thread Paul
I'm using V5. So I still need to use define NOFORMS and undef NOFORMS for each thread's execute begin/end. Paul - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Monday, July 16, 2007 2:39 PM Subject: Re: [twsocket] NOFORMS

Re: [twsocket] NOFORMS

2007-07-16 Thread Arno Garrels
Paul wrote: I'm using V5. So I still need to use define NOFORMS and undef NOFORMS for each thread's execute begin/end. Nothing needs to be undef, simply define NOFORMS in your project options and rebuild all, ICS will then call its own thread-safe routines and would not use the Forms unit, no