CLASwitch is a dirt simple application that uses RENAME() to "move" versions into and out of a single working folder. Once moved it uses Windows API ShellExecute() to run the executable.
NO CHANGES ARE MADE TO YOUR INI FILES OR PATH
Example: Clarion6, 6.1, 6.2 & 6.3 all run in the \Clarion6 folder so the build you select will be moved into this Target Folder before ShellExecute is called. The prior build of will be placed in its Source Folder for safekeeping.
Assuming build 9033 was the last version used and build 9050 is what you selected to use now. 9033 could be moved to a folder named Clarion6.9033 by renaming Clarion6 to Clarion6.9033. Then folder Clarion6.9050 could be renamed to Clarion6. After the renames are completed the shortcut for Clarion6 is run using ShellExecute().
In addition, depending on the options selected, CLASwitch will delete \BIN\*.GID files so you will not run into the un-synced help file error. Also the [picklist], from the last run version, can be duplicated in the called version and the active project updated if the major Clarion build remains the same.
And remember, you can make whatever changes you want since it's all source code in an APP and DCT.
|