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. Win 32 error

Win 32 error

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestionlearning
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.
  • J Offline
    J Offline
    jetournier
    wrote on last edited by
    #1

    Hello Could anyone help me about the "Win 32 error 267" I get when I run a .exe I just correctly compiled with Visual C++? The associated message is: "Could not execute: invalid directory" As I'm a beginner, it may be a very stupid mistake.... Thank you in advance JET

    A 1 Reply Last reply
    0
    • J jetournier

      Hello Could anyone help me about the "Win 32 error 267" I get when I run a .exe I just correctly compiled with Visual C++? The associated message is: "Could not execute: invalid directory" As I'm a beginner, it may be a very stupid mistake.... Thank you in advance JET

      A Offline
      A Offline
      Antti Keskinen
      wrote on last edited by
      #2

      Is your executable (code) attempting to open a file or a document that does not exist, or does it specify a directory that does not exist ? That is the apparent reason for the error, so you should check your code throughoghly. Then, set breakpoints into the code and use the debugger to determine the point where this error is caused. It might also be that your user account has no execution priviledges on the directory where the executable resides. In this case, contact the Systems Administrator for a solution. -Antti Keskinen ---------------------------------------------- The definition of impossible is strictly dependant on what we think is possible.

      J 1 Reply Last reply
      0
      • A Antti Keskinen

        Is your executable (code) attempting to open a file or a document that does not exist, or does it specify a directory that does not exist ? That is the apparent reason for the error, so you should check your code throughoghly. Then, set breakpoints into the code and use the debugger to determine the point where this error is caused. It might also be that your user account has no execution priviledges on the directory where the executable resides. In this case, contact the Systems Administrator for a solution. -Antti Keskinen ---------------------------------------------- The definition of impossible is strictly dependant on what we think is possible.

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

        Thanks for the answer. In fact the error happened before the entry point of the program, so no breakpoint could be useful. :(( It was in fact in options/settings/debug/working directory: as somebody gave me an example of a project, there was something specified that didn't correspond to a real directory on MY computer.... So I erased this line and now I can continue:-D JET

        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