Results 1 to 5 of 5

Thread: Move\Extract\Delete *.lib functions

Threaded View

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jul 2001
    Location
    Tucson, AZ
    Posts
    2,166

    Move\Extract\Delete *.lib functions

    I'm still getting LNK Error 2005

    nafxcwd.lib(afxinl1.obj) : error LNK2005: "public: virtual void __thiscall CObject::Serialize(class CArchive &)" (?Serialize@CObject@@UAEXAAVCArchive@@@Z) already defined in mfc42ud.lib(MFC42uD.DLL)


    It appears the conflict is being caused by a library file included in Project/Settings/Link as when this library is deleted only the functions contained in the library used by my code generate errors compile errors.

    QUESTIONS:

    1. Is their anyway to move/extract just those functions to another library, or delete the duplicate mfc42uD functions since I do NOT have the source code to recreate the other library?

    2. Is their anyway to get my code to ignore the duplicate functions (either the one in mfc42uD.dll or my link library)??

    3. Will creating a namespace resolve this conflict?

    Thanks
    David
    Last edited by dw85745; Jun 3rd, 2004 at 10:20 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width