Re: VC++ .NET> Release Build results LNK2001, LNK2019 and LNK1120

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Oleg Starodumov (com-dot-debuginfo-at-oleg)
Date: 03/01/05


Date: Tue, 1 Mar 2005 10:39:48 +0200


> I re-compile as you mentioned. Unfortunately, ws2_32.lib is not listed at
> Release Build at the Output file. Also, I compare the Debug Output file and
> Release output File. The only differenece is the lack of "ws2_32.lib" at
> Release Build file.
>

It means that ws2_32.lib is not specified in the list of import libraries.

Please check again Project Settings | Configuration Properties | Linker | Input |
Additional Dependencies, and make sure that ws2_32.lib is there.
Make sure that when you check it, Release is selected in Configuration listbox
at the top of the dialog page.

If it does not help, try to add ws2_32.lib to your project explicitly (in the same way
as you would add an ordinary source file).

Regards,
Oleg



Relevant Pages

  • Re: Accessing two different db2 subsystems
    ... :>> What is the business reason for not using an output file? ... :>I guess there's really no reason not go for the output file solutions. ... And then compare the result of these two files. ... I very rarely bother responding to challenge/response systems, ...
    (comp.lang.cobol)
  • Re: Accessing two different db2 subsystems
    ... :>I have the need to create a cobol program that compares a specified ... :>creating an output file, and then compare the two files. ... I very rarely bother responding to challenge/response systems, ...
    (comp.lang.cobol)
  • Re: grep/regex---HELP
    ... In Matlab, I would open the input and output file with fopen, read it line by line with fgetl and compare it: ... Thanks for quick response, there is a new problem i am facing, in my m.script for which i am using your hints, there are some matrices and fgetl do not care about that it just read line, so how can i handle those matrices e.g ... ok to be very precise i want to separate those declarations which are dependent on any other declaration in that same file e.g. ...
    (comp.soft-sys.matlab)
  • Re: grep/regex---HELP
    ... In Matlab, I would open the input and output file with fopen, read it line by line with fgetl and compare it: ... Thanks for quick response, there is a new problem i am facing, in my m.script for which i am using your hints, there are some matrices and fgetl do not care about that it just read line, so how can i handle those matrices e.g ... Do you maybe want to compare if your current value for xyz equals the rhs of your check file? ...
    (comp.soft-sys.matlab)
  • Re: grep/regex---HELP
    ... In Matlab, I would open the input and output file with fopen, read it line by line with fgetl and compare it: ... Thanks for quick response, there is a new problem i am facing, in my m.script for which i am using your hints, there are some matrices and fgetl do not care about that it just read line, so how can i handle those matrices e.g ...
    (comp.soft-sys.matlab)