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. Cannot Execute Program

Cannot Execute Program

Scheduled Pinned Locked Moved C / C++ / MFC
csharpc++databasevisual-studiodebugging
4 Posts 4 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.
  • D Offline
    D Offline
    dahill
    wrote on last edited by
    #1

    Visual Studio 6 C++ says "cannot execute program" on my XP machine. The same Release .exe throws an exeption implicating ntdll.dll when launched outside of Visual Studio. Debug edition runs OK. Release edition runs OK on an NT machine. An intriguing database entry mentions a 'NO_NTDLL' option. Any experience with this? dahill

    N R T 3 Replies Last reply
    0
    • D dahill

      Visual Studio 6 C++ says "cannot execute program" on my XP machine. The same Release .exe throws an exeption implicating ntdll.dll when launched outside of Visual Studio. Debug edition runs OK. Release edition runs OK on an NT machine. An intriguing database entry mentions a 'NO_NTDLL' option. Any experience with this? dahill

      N Offline
      N Offline
      Nibu babu thomas
      wrote on last edited by
      #2

      This[^] could help.


      Nibu thomas Software Developer

      1 Reply Last reply
      0
      • D dahill

        Visual Studio 6 C++ says "cannot execute program" on my XP machine. The same Release .exe throws an exeption implicating ntdll.dll when launched outside of Visual Studio. Debug edition runs OK. Release edition runs OK on an NT machine. An intriguing database entry mentions a 'NO_NTDLL' option. Any experience with this? dahill

        R Offline
        R Offline
        Ryan Binns
        wrote on last edited by
        #3

        dahill wrote:

        The same Release .exe throws an exeption implicating ntdll.dll when launched outside of Visual Studio.

        What is the exception? It sounds like the application hasn't linked properly. Try doing a clean rebuild.

        Ryan

        "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

        1 Reply Last reply
        0
        • D dahill

          Visual Studio 6 C++ says "cannot execute program" on my XP machine. The same Release .exe throws an exeption implicating ntdll.dll when launched outside of Visual Studio. Debug edition runs OK. Release edition runs OK on an NT machine. An intriguing database entry mentions a 'NO_NTDLL' option. Any experience with this? dahill

          T Offline
          T Offline
          toxcct
          wrote on last edited by
          #4

          are you sure to provide all the dll needed with your program ? you could use dependency walker[^] to see which libs are required by your application to run...

          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