I've compiled two versions of a program to run in Windows 95/98 and Windows
NT/2000 environments by assigning the values WIN95 and WINNT respectively to
the OS_TARGET environment variable. The "WINNT" program works as expected
on computers running Windows 98, NT, and 2000. On a computer running
Windows 95, the "WIN95" program generates the following error when starting
the program:
"The LIBNSPR4.DLL file is linked to missing export WSOCK32.DLL:1141."
Since the WSOCK32.DLL dynamic library is accessible on the Windows 95
computer, I suspect that LIBNSPR4.DLL may be looking for a different version
of WSOCK.DLL. I am developing on a Windows 2000 computer and the library
path is defined as follows:
"LIB=C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib;C:\Program
Files\Microsoft Visual Studio\VC98\lib"
The current version of the WSOCK32.DLL on the development computer is
5.0.2195.1207.
I will not be able to update the configuration of any legacy Windows 95
computer on which the application could be executed.
Is there a WSOCK32.LIB library available that would be compatible with a
Windows 95 computer?
Is there some other way of resolving this problem?