Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. No anwering my this question ...y?

No anwering my this question ...y?

Scheduled Pinned Locked Moved C / C++ / MFC
c++questionhelpannouncement
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    Zeeshan Bilal
    wrote on last edited by
    #1

    HI ,,, I m using VC++ 6 and DirectShow Compiling in Release mood + Using MFC Static Library following errors there ,,, but when i change to Shared DLL there is no such error Linking... LINK : warning LNK4049: locally defined symbol "_strrchr" imported thanx Strmbasd.lib(wxdebug.obj) : error LNK2001: unresolved external symbol __imp__sprintf Release/cam.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe.

    J J 2 Replies Last reply
    0
    • Z Zeeshan Bilal

      HI ,,, I m using VC++ 6 and DirectShow Compiling in Release mood + Using MFC Static Library following errors there ,,, but when i change to Shared DLL there is no such error Linking... LINK : warning LNK4049: locally defined symbol "_strrchr" imported thanx Strmbasd.lib(wxdebug.obj) : error LNK2001: unresolved external symbol __imp__sprintf Release/cam.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe.

      J Offline
      J Offline
      Johan Rosengren
      wrote on last edited by
      #2

      The error messages imply that your link settings are bad. If you have manually changed to static linking, you are on your own - you'll have to make sure that all necessary libs are included in the link. You are not likely to get many answers for questions like this, as you should first of all try looking up the error messages in the help or on MSDN, and that there are about a bazillion ways you can muck up the complier- and linker settings yourself. Try creating a new project with the correct settings from the start, and copy the relevant files, then - if you are interested - check the differences in settings between the two. You might also want to read up on linker settings.

      1 Reply Last reply
      0
      • Z Zeeshan Bilal

        HI ,,, I m using VC++ 6 and DirectShow Compiling in Release mood + Using MFC Static Library following errors there ,,, but when i change to Shared DLL there is no such error Linking... LINK : warning LNK4049: locally defined symbol "_strrchr" imported thanx Strmbasd.lib(wxdebug.obj) : error LNK2001: unresolved external symbol __imp__sprintf Release/cam.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe.

        J Offline
        J Offline
        jmkhael
        wrote on last edited by
        #3

        Are you sure you are linking against one of these libraries? LIBC.LIB Single thread static library LIBCMT.LIB Multithread static library MSVCRT.LIB Import library for MSVCRT.DLL Papa while (TRUE) Papa.WillLove ( Bebe ) ;

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups