error 42 and strange behavior

Started by jack, August 20, 2008, 09:41:22 AM

Previous topic - Next topic

jack

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

#1
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

jack

Thanks JohnF :)
btw, why was there a process holding the file hostage?

JohnF

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