HOWTO Get rid of LNK4078

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: ADX Dev (dpw_at_newsgroups.nospam)
Date: 04/14/04

  • Next message: Don Caton: "RE: AppWizard won't create any files"
    Date: Wed, 14 Apr 2004 08:51:03 -0700
    
    

    I don't seem to be able to get rid of this warning when building on Win32 Release Mode.
    I have about 15 of this:
        LINK : warning LNK4078: multiple ".rdata" sections found with different attributes (C0000040)

    I tried what the online document said:
    ---------------------------------------------------------------------------------------------------------------------------------------------
    multiple "section" sections found with different attributes

    LINK found two or more sections that have the same name but different attributes. Probably an import library or exports file was created by a previous version of LINK or LIB. Recreate the file and relink.
    ---------------------------------------------------------------------------------------------------------------------------------------------

    I even deleted all files created by Visual Studio:
       .aps *.apx *.bsc *.clw *.ilk *.ncb *.pch *.pdb *.res *.sbr *.vcp

    This is my development environment:
      Visual Studio 6.0 SP6
      IE6 SP1 Headers & Libraries
      WIN32 SDK Headers & Libraries
      MSXML 4.0 SP2
      XP OS

    I also have Visual Studio .NET 2003 installed

    Let me know if you need additional information.

    Thanks,
    ADX Dev


  • Next message: Don Caton: "RE: AppWizard won't create any files"

    Relevant Pages

    • HOWTO Get rid of LNK4078
      ... I don't seem to be able to get rid of this warning when building on Win32 Release Mode. ... I even deleted all files created by Visual Studio: ... IE6 SP1 Headers & Libraries ... WIN32 SDK Headers & Libraries ...
      (microsoft.public.vc.language)
    • Re: Adding Win 32 to a MFC program
      ... want to be able to use the win32 into my MFC application but it give ... THis looks like the api for the WinSock 'connect' call ... What does the documentation of 'connect' tell you about it? ... but a failure to include libraries that are expected and used by the other "program". ...
      (microsoft.public.vc.mfc)
    • Re: solution w multiple web projects
      ... There are no dependencies between the apps. ... tons of experience in both Visual Studio and .NET. ... If you have your business code in the ... refactoring to libraries so you can add other faceplates. ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: unresolved external symbol in VS8 from VS6
      ... in Visual Studio .NET, it is likely that another library is being pulled ... This will output all of the libraries that are being ... Debug version works while release version doesn´t link. ... pruebaMFC.obj: error LNK2001: unresolved external symbol ...
      (microsoft.public.vc.mfc)
    • Re: Best Lisp/Scheme for Windows development?
      ... Decent GUI and graphics libraries or easy access to them. ... As much as I would like to stay in the "pure" Common Lisp environment ... fantastic but not for Win32). ... PLT is brilliant for development environment, community, docs, ...
      (comp.lang.lisp)