Page 1 of 1

Unable to rename filename.$$$ to filename.h

Posted: Thu Mar 29, 2012 4:58 am
by Steven
Hi,

when enabling SORTA with twinecompile 3.3 I very often get the following error:
Unable to rename 'c:\path\filename.$$$' to 'c:\path\filename.h'. This always occurs when sorta compile is running and I try to save a modified file in builder.

I then have to go to that file in Windows explorer and change the extension back to .h (or .cpp). So it happens for headers and cpp files.

I mostly disable sorta to avoid this error, but I would rather see this fixed so I can re-enable sorta ;)

Thanks,
Steven

Re: Unable to rename filename.$$$ to filename.h

Posted: Fri Mar 30, 2012 8:08 am
by jomitech
This is most likely because SORTA compile has the file open, and Windows doesn't allow files to be replaced via a rename when the file is open. I'll look into a solution.