Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <40998C6B.F5A44973@hot.pl> Date: Thu, 06 May 2004 02:52:59 +0200 From: Jacek Trzmiel MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: pthreads and sockets - Cannot register window class error References: <4098760F DOT CDB4F630 AT hot DOT pl> <4098E04B DOT 34D2866B AT dessent DOT net> <20040505210340 DOT GB321 AT coe DOT bosbc DOT com> <4099694C DOT DB07AC2E AT hot DOT pl> Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Hi Brian, > > > $ g++ GetHostByNameTest.cpp -lpthread -o GetHostByNameTest.exe && > > > ./GetHostByNameTest.exe gethostbyname: Operation not permitted > > > > Win2k SP4 + hotfixes. > > Can someone reproduce it? > > Sure looks alot like this: > http://www.cygwin.com/ml/cygwin/2004-04/msg00545.html > have you tried a snapshot? Thanks, it works with latest snapshot. Should have checked this before... Nevertheless ThreadingTest.cpp posted here: http://cygwin.com/ml/cygwin/2004-05/msg00178.html still sometimes fails, even with 20040504 snapshot: > $ g++ ThreadingTest.cpp -lpthread -o ThreadingTest.exe && ./ThreadingTest.exe > 238 [win] ThreadingTest 1696 Winmain: Cannot register window class, Win32 error 1410 > 896 [win] ThreadingTest 1696 Winmain: Cannot register window class, Win32 error 1410 > $ g++ ThreadingTest.cpp -lpthread -o ThreadingTest.exe && ./ThreadingTest.exe > 10 [win] ThreadingTest 732 Winmain: Cannot register window class, Win32 error 1410 > 8362 [win] ThreadingTest 732 Winmain: Cannot register window class, Win32 error 1410 > D:\Sources\Test\ThreadingTest.exe (1360): *** WFSO failed, Win32 error 6 > 11725 [win] ThreadingTest 732 Winmain: Cannot register window class, Win32 error 1410 Best regards, Jacek. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/