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/