This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: pthreads and sockets - Cannot register window class error
- From: "Hannu E K Nevalainen" <garbage_collector at telia dot com>
- To: <cygwin at cygwin dot com>
- Date: Thu, 6 May 2004 02:19:30 +0200
- Subject: RE: pthreads and sockets - Cannot register window class error
> From: Brian Ford
> Sent: Thursday, May 06, 2004 1:55 AM
> On Thu, 6 May 2004, Jacek Trzmiel wrote:
>
> > > $ 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?
DITO.
$ g++ ghTest.cpp -lpthread -o GetHostByNameTest.exe &&
./GetHostByNameTest.exe
$ ./GetHostByNameTest.exe
$ ./GetHostByNameTest.exe
$ ./GetHostByNameTest.exe
$ ./GetHostByNameTest.exe
$ ./GetHostByNameTest.exe
$ ./GetHostByNameTest.exe
$ ./GetHostByNameTest.exe
$ ./GetHostByNameTest.exe
$ ./GetHostByNameTest.exe
$ g++ ghTest.cpp -lpthread -o GetHostByNameTest.exe &&
./GetHostByNameTest.exe
$ g++ ghTest.cpp -lpthread -o GetHostByNameTest.exe &&
./GetHostByNameTest.exe
$ g++ ghTest.cpp -lpthread -o GetHostByNameTest.exe &&
./GetHostByNameTest.exe
$ g++ ghTest.cpp -lpthread -o GetHostByNameTest.exe &&
./GetHostByNameTest.exe
$ g++ ghTest.cpp -lpthread -o GetHostByNameTest.exe &&
./GetHostByNameTest.exe
$ g++ ghTest.cpp -lpthread -o GetHostByNameTest.exe &&
./GetHostByNameTest.exe
$ g++ ghTest.cpp -lpthread -o GetHostByNameTest.exe &&
./GetHostByNameTest.exe
$ g++ ghTest.cpp -lpthread -o GetHostByNameTest.exe &&
./GetHostByNameTest.exe
$ g++ ghTest.cpp -lpthread -o GetHostByNameTest.exe &&
./GetHostByNameTest.exe
$ g++ ghTest.cpp -lpthread -o GetHostByNameTest.exe &&
./GetHostByNameTest.exe
$ g++ ghTest.cpp -lpthread -o GetHostByNameTest.exe &&
./GetHostByNameTest.exe
$
... no errors as it seems.
$ uname -a
CYGWIN_NT-5.0 P450 1.5.10s(0.114/4/2) 20040504 23:37:33 i686 unknown unknown
Cygwin
...as of a few minutes before the test.
(on Win2K adv server, SP4 + all updates -> no virii ;-) knock on wood!)
/Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E
** on a mailing list; please keep replies on that particular list **
-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --
--END OF MESSAGE--
--
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/