From: Jeff H. <jeffh@ActiveState.com> - 2004-05-21 16:21:01
|
> je...@ac... said: > > I do not think that you can run a Windows machine without networking = > > installed anymore, even if you never connect the machine to a = network. >=20 > I seem to recall, however, that the DLLMain of wsock32.dll=20 > fails on 95/98/98SE/Me if it can't find a network adapter at=20 > all. So you can't load the library at all if you haven't got=20 > a network interface. After worming around MSDN, I'm not sure that this is the case anymore for Win9x. It may have been true for early Win95, but there is no indication of such a possible error condition, and all MSDN samples don't warn you about it. In there, there is a WSASYSNOTREADY error it can return: http://msdn.microsoft.com/library/default.asp?url=3D/library/en-us/winsoc= k/wins ock/wsastartup_2.asp That is documented to handle the incompatible / lack of DLL case. It's a special WSAStartup error mode, so I think it means we should be OK to clean up tclWinSock.c. Jeff |