This is the mail archive of the
mailing list for the Cygwin project.
Re: WSASocketA returns WSAEPROVIDERFAILEDINIT
- To: Earnie Boyd <earnie_boyd at yahoo dot com>
- Subject: Re: WSASocketA returns WSAEPROVIDERFAILEDINIT
- From: egor duda <deo at logos-m dot ru>
- Date: Tue, 1 May 2001 19:46:23 +0400
- CC: cygwin-apps at cygwin dot com
- Organization: deo
- References: <firstname.lastname@example.org><20010430215921.M24200@cygbert.vinschen.de><email@example.com> <3AEED4C8.5E7B8D7@reversion.ca><3AEED8E0.D7FD6731@yahoo.com>
- Reply-To: egor duda <cygwin-apps at cygwin dot com>
Tuesday, 01 May, 2001 Earnie Boyd firstname.lastname@example.org wrote:
>> Thanks, I'll try that out.. Do you think I can set the SYSTEMROOT in my own call to _spawnlpe() or should I apply the patch to
>> the cygwin source and rebuild the DLL?
>> Thanks for the reply. I had lost hope of a response long ago!
EB> Hmm... On WinNT 4 it's set as a standard Win32 environment variable.
EB> Just make sure it's part of the Windows initialization.
it's certainly set by default. the problem is that spawnlpe (and
execle, for that matter), create process with new, constructed
environment, and if programmer won't include SystemRoot in this
constructed environment, new process won't have it. this may break
some standard windows components, including winsock.
Egor. mailto:email@example.com ICQ 5165414 FidoNet 2:5020/496.19