NO

Author Topic: error 42 and strange behavior  (Read 3199 times)

Offline jack

  • Member
  • *
  • Posts: 66
error 42 and strange behavior
« on: August 20, 2008, 09:41:22 AM »
here's project that when built repororts an error 42, when you then modify decNumber.c and try to save it, I get an error
decNumber can be obtained from http://speleotrove.com/decimal/decnumber.html , I only included the files needed to reproduce the error.
Quote
Error writing to file 'decNumber.c'
The process cannot access the file because it is being used by another process.
same error if I try to exit the IDE
please try the following
(1) rebuild the project
(2) modify decNumber.c in some way
(3) try to save the file

JohnF

  • Guest
Re: error 42 and strange behavior
« Reply #1 on: August 21, 2008, 10:56:31 AM »
Highlight all the code and from the menu do

  Source/Convert to/Formatted C code

And rebuild. Obviously there is something there that PellesC doesn't like. I don't know what.

John
« Last Edit: August 21, 2008, 12:40:06 PM by JohnF »

Offline jack

  • Member
  • *
  • Posts: 66
Re: error 42 and strange behavior
« Reply #2 on: August 21, 2008, 04:10:46 PM »
Thanks JohnF :)
btw, why was there a process holding the file hostage?

JohnF

  • Guest
Re: error 42 and strange behavior
« Reply #3 on: August 21, 2008, 06:29:44 PM »
I imagine that because an error had occurred the process had not released the file, in other words a bug. :) Pelle needs to look at this problem.

John