I got tired of CLWs, DLLs, and EXEs not being newly generated reliably, so

I made myself a little helper program.

It watches the CLW directory and shows the oldest file name, date, and time.
It has a button to delete all the CLW files in the specified directory (moves them to the recycle bin actually)
It maintains a list of DLL and EXE files that are to be generated and displays the creation date of the file in the Clarion development directory and also my live directory and highlights them in red if they don’t match.

I’d be happy to share it if anyone would be interested.

I just set the options in the IDE to generate and make all. That appear to work well.

I have them set too, but it still doesn’t seem to reliably generate and make all :\

I’m interested, because I do wonder if ShadowCopy is playing up on my machine sometimes…

Here’s a link to the app and dct. I hope you can make use of it. If you make any interesting additions throw it back my way.

I just realized, I used vuFileTools for sending the CLW files to the recycle bin. But you can easily remove that and just use the Clarion delete function if you don’t have vuFileTools. I also have CapeSoft FileManager but you can remove that too and it should work fine.

It says Access Denied so you’ve got a Google Drive request.

I’ll have a look at it and see if it helps, havent had a problem with multiple instances of files appearing in the IDE and Debugger today.

I’m beginning to wonder if I need to set those old reg settings for TPS files, in case the windows disk cache is caching the source files. IIRC disk caching is on by default but shouldnt be happening for a single process ie the IDE, but I see old files in the debugger so I’m wondering if there is a problem occurring when the debugger is still running whilst I shut it down during compilation.

I clicked on ALLOW

I don’t know about the other thing you mentioned, the reg. setting. Now that I use the IP Driver I don’t think about that anymore. But I do have to remember to stop the IP Driver service before copying over the Data DLL, so I just this morning added buttons to stop and start the IP Driver service (they just RUN one-line batch files that do it)

I’ll probably add three more buttons, one to copy the live files to a backup, one to copy the dev files over to the live directory, and one to run the VersionUp (FM3) app. Then I will have all my deployment steps wrapped up in a single little app.

I don’t know why I didn’t do something like this years ago…

This is what it looks like in the monitoring window

I’ll give it a go when I get a chance. Got the zip file cheers.

The reg settings which I’d have to look up, stop files on the hard drive from being cached especially if accessed over a network.

1 Like

Greetings - Cannot seem to get to the Google Drive.
Is there an alternative link to this source? Thank you in advance.
Regards,
Roberto Artigas

Just Zip the project files into 1 file and attach it here to your post. Please include the generated CLWs so we can see all the code without building. It’s also helpful to include a TXA and DCTX to allow opening in older versions.

You could change to use SHFileOperation function FO_DELETE. That’s an API to be extra careful to get your parameters exactly right, e.g. Double Null Terminated strings.

I attached it here

VersionMonitor.zip (50.7 KB)