Re: Write Access Error When Using CFileDialog



Note that the task manager only describes the instances of the program running on the
machine on which the task manager is running. If you have a copy running on another
machine, you get the same error, but you don't get anything from the task manager. At my
site, where I have nine machines in various states (a Win2K machine, a Server 2003
machine, some XP machines), this often happens to me when I do "cross-platform" testing.
Then my problem is to figure out which machine I left a running copy on.

If you're using the process explorer from www.sysinternals.com, search for a handle for
your .exe file on the machine which holds the disk structure on which the .exe file lives,
for example, if you are building to a server, it would be meaningful to do this only on
your server.
joe

On 11 Jul 2006 10:58:08 -0700, "Jon" <TheFakeJon@xxxxxxxxx> wrote:

Thanks, but what process viewer tool? I ran the task manager and
couldn't find any occurances of my .exe file. For a more in-depth
look, I also ran "process explorer" which is like task manager on
steriods and still no luck. :(

Thanks


Mark F. wrote:
Sleepster wrote:
LINK : fatal error LNK1168: cannot open ../../../bin/myfile.exe for
writing


I don't think the code you posted is the problem. The linker error is probably
telling you that the app is still running and therefore the .exe file cannot be
written because of an open file access violation. Run the proccess viewer tool
and see if the app is still alive.

Mark
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages

  • Re: Terminating a process
    ... the exe file still shows up in the task manager. ... from the Script Center's sample library ... ... >> Dennis Hancy ...
    (microsoft.public.scripting.vbscript)
  • Re: Process runs but browser doesnt open
    ... If the .exe file is running in the task manager but does not open ... "Uncle Gus" wrote: ... > I suspect this machine had a browser hijack so I ran SpyBot, ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: server not configured for transactions
    ... if this .exe file is running in the process tab of task manager. ...
    (microsoft.public.win2000.networking)
  • Re: Terminating a process
    ... Dennis ... > Tom Lavedas ... the exe file still shows up in the task manager. ...
    (microsoft.public.scripting.vbscript)
  • Re: Run .exe in C# .aspx.cs
    ... I should add that I can see "notepad.exe" under Processes in Task Manager on ... Just no visible notepad app ??? ... > Page_Load of a WebForm app, to IIS on Windows Server 2003. ...
    (microsoft.public.dotnet.framework.aspnet)

Loading