Author Topic: Create file error  (Read 3919 times)

Offline PauloH

  • Single posting newcomer
  • *
  • Posts: 5
Create file error
« on: October 13, 2007, 02:45:24 pm »
Hello,
I think there is a problem with CB. When re-compiling a project or a single file with Digital Mars C compiler the task can't be done. If I open the project (or file) folder and delete the executable, the the I got success. But, there are times when I can't delete the once generated executable and the solution is to reboot my machine! So I get access to executable and I can delete it. What is wrong? I tried other IDE too and the CB is the only with this kind of problem with DM.
Thanks

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Create file error
« Reply #1 on: October 13, 2007, 03:41:26 pm »
Have you ever looked with the taskmanager if the process is really stopped ?
It sounds like your app isn't really closed, or doesn't get closed immediately.

Offline PauloH

  • Single posting newcomer
  • *
  • Posts: 5
Re: Create file error
« Reply #2 on: October 13, 2007, 03:46:49 pm »
Hello, thank you for your 'ultra-fast' answer.

"Have you ever looked with the taskmanager if the process is really stopped ?"

Yes, I looked with taskmanager and LordPE. They both couldn't show the executable...

Any other idea.

Kind regards.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Create file error
« Reply #3 on: October 13, 2007, 03:54:45 pm »
If you can't delete the executable is there any error message ?
Or are there any messages in the windows logs (eventviewer ?, I don't no the correct term in english) ?

Offline PauloH

  • Single posting newcomer
  • *
  • Posts: 5
Re: Create file error
« Reply #4 on: October 13, 2007, 04:39:34 pm »
Well, my settings are:
DM folder = C:\dm
The build log:

dmc.exe -mn -c -A99   -IC:\dm\stlport\stlport -IC:\dm\include  -oC:\Programing\C\Projects\CPrimerPlus\Chap5\cubbing.obj C:\Programing\C\Projects\CPrimerPlus\Chap5\cubbing.c
link.exe /NOLOGO C:\Programing\C\Projects\CPrimerPlus\Chap5\cubbing.obj, C:\Programing\C\Projects\CPrimerPlus\Chap5\cubbing.exe, ,  /DELEXECUTABLE
OPTLINK (R) for Win32  Release 8.00.1
Copyright (C) Digital Mars 1989-2004  All rights reserved.
OPTLINK : Error 3: Cannot Create File cubbing.map
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
Build log saved as:

 
I'm using DM 8.50
That's all!