Hello, ----- Original Message ----- From: "Arno Garrels" <[EMAIL PROTECTED]> To: "ICS support mailing" <twsocket@elists.org> Sent: Friday, December 23, 2005 2:22 PM Subject: Re: [twsocket] Cannot create a hidden windows for TWSocket
> Fastream Technologies wrote: >> Sometimes the code gives 10022 (Invalid handle). Do not know what's >> wrong. > > 10022 Invalid argument > An invalid value was given for one of the arguments to a function. For > example, the value given for the origin > when positioning a file pointer (by means of a call to fseek) is before > the beginning of the file. > > I saw this error while I was playing with multiple threads. > Could be a multi threading bug. I have no file pointers. Also in my architecture, I create in the main listener thread, ThreadAttach in the worker thread context and never threaddetach, instead just destroy in the worker thread. Could this be the problem? Best Regards, SubZero > >> >> >> ----- Original Message ----- >> From: "Francois Piette" <[EMAIL PROTECTED]> >> To: <twsocket@elists.org> >> Sent: Friday, December 23, 2005 11:35 AM >> Subject: [twsocket] Cannot create a hidden windows for TWSocket >> >> >>>> Ok. The problem when I attach the debugger to the service process seems >>>> to >>>> be "Cannot create a hidden windows for TWSocket.". Any cure for this? >>> >>> You should try to get windows error number/message to know more. >>> Usually you get this when Windows run out of resources. >>> The error created in XSocketAllocateHWnd. Grab the error number by >>> calling GetLastError. Maybe this >>> error number will tell more. >>> >>> -- >>> Contribute to the SSL Effort. Visit >>> http://www.overbyte.be/eng/ssl.html >>> -- >>> [EMAIL PROTECTED] >>> Author of ICS (Internet Component Suite, freeware) >>> Author of MidWare (Multi-tier framework, freeware) >>> http://www.overbyte.be >>> >>> >>> -- >>> To unsubscribe or change your settings for TWSocket mailing list >>> please goto http://www.elists.org/mailman/listinfo/twsocket >>> Visit our website at http://www.overbyte.be > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://www.elists.org/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be