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

TwineCompile - Cut C++Builder compile times by up to 50x!
Post Reply
Steven
Posts: 7
Joined: Mon Oct 19, 2009 6:02 am

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

Post 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
jomitech
Site Admin
Posts: 2157
Joined: Wed Oct 08, 2008 12:23 am

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

Post 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.
Jon
Post Reply