WSASocketA returns WSAEPROVIDERFAILEDINIT

egor duda deo@logos-m.ru
Tue May 1 08:48:00 GMT 2001


Hi!

Tuesday, 01 May, 2001 Earnie Boyd earnie_boyd@yahoo.com 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:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19




More information about the Cygwin-apps mailing list