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. mfc mysteries

mfc mysteries

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpdebuggingquestion
3 Posts 2 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.
  • T Offline
    T Offline
    the_augy
    wrote on last edited by
    #1

    I have an executable file which was compiled in debug mode. When I run it in debug mode, I get an error message before the code even seems to execute (InitInstance on my CWinApp class doesn't even get called). The error message says: "C:\path\to\filename.dll" File not Found. This filename.dll is the output from another project I have, but the 2 projects are unrelated. If I run the same exeutable file in non-debug mode, then there are no issues like this. Does anybody know why my application might be trying to link up with this filename.dll ? Does VC++ have someplace where it keeps the list of DLLs it tries to link with at runtime? Any and all help appreciated.

    S 1 Reply Last reply
    0
    • T the_augy

      I have an executable file which was compiled in debug mode. When I run it in debug mode, I get an error message before the code even seems to execute (InitInstance on my CWinApp class doesn't even get called). The error message says: "C:\path\to\filename.dll" File not Found. This filename.dll is the output from another project I have, but the 2 projects are unrelated. If I run the same exeutable file in non-debug mode, then there are no issues like this. Does anybody know why my application might be trying to link up with this filename.dll ? Does VC++ have someplace where it keeps the list of DLLs it tries to link with at runtime? Any and all help appreciated.

      S Offline
      S Offline
      shiraztk
      wrote on last edited by
      #2

      Hi Please look into Project->Settings->Link, Object/Library modules is empty or not. Hope this would help you. Regards The Best Relligion is Science. Once you understand it, you will know God.

      T 1 Reply Last reply
      0
      • S shiraztk

        Hi Please look into Project->Settings->Link, Object/Library modules is empty or not. Hope this would help you. Regards The Best Relligion is Science. Once you understand it, you will know God.

        T Offline
        T Offline
        the_augy
        wrote on last edited by
        #3

        I'm loading: advapi32.lib So, this isn't the issue.

        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