Dear gurus,
when i build my project the error called "Win32 error :267"
appears and following that the error called "Can not execute
program"..
so what is the solution for this problem?
pls help me its urgent..
senthil.
:confused:
Printable View
Dear gurus,
when i build my project the error called "Win32 error :267"
appears and following that the error called "Can not execute
program"..
so what is the solution for this problem?
pls help me its urgent..
senthil.
:confused:
Does this happen when you try to BUILD or when you try to RUN???
this happens when i try to run the program only.
pls help me..
senthil
the exact error message is :
Could not execute : Invalid directory(Win32 error : 267)
when i click the ok button then the following message :
"Cannot execute the program"
so how to fix this problem?
senthil.
Since it is happening when you RUN the program, use the Debugger!!!
You are tring to access a file/directory which does not exist or to which you do not have the rights required.
How to fix the problem is dependant on what the problem is?
If the directory/file should exist, create it...
If the program is looking in the wrong place...change where it is looking....
Just out of curiosity...check that the path to the application is set correctly within the project settings (ALT + F7 -> Debug -> Application for debug session (or similar))...
have you changed the project settings ??
And if this happens for all projects then must be Visual studio's problem , report to MS and install service pack 5.
Win32 Error 267 is ERROR_DIRECTORY . It means that the
the directory name is invalid. Did you play around with the
project settings ??
And i think this might caused when some directory spy are installed , they hook CreateProcess and dont allow to run/read etc , adn return invalid dir or some error like that.
I also encounter this problem, and don't know how to sove it.
Well, since you post in that old thread then you already have to have understood that to get any reliable help you have to provide much more info about *your* problem, such as:
- where, when and how it happens
- the App type
- Build type (debug/release, unicode/ansi)
- IDE used
- ...
Old thread, -but just in case this could help someone:
My problem was easily solved with the solution posted in the thread titled:
"Could not execute: invalid directory (Win32 error 267) "
Hope this helps.