Confirming FastCube v2.5.5 Version Number
Polomint
Australia
I am trying to verify that FC is correctly installed on development machines. In the debug code for an App I have created the following procedure
In spite of these actions, the above code is reporting v2.5.2 is installed.
Any suggestions
- why this might be happening?
- for a more reliable version test!
function GetFCVersion : string;
  var
    Cube : TfcxCube;
begin
  try
    Cube := TfcxCube.Create (nil);
    Result := Cube.Version;
  finally
    FreeAndNil (Cube);
  end;
end; {GetFCVersion}
When FC 2.5.5 was released recently I manually uninstalled the previous version, and ran IOBit Uninstaller to "shred" any vestiges of the install. Then I installed the the new version.In spite of these actions, the above code is reporting v2.5.2 is installed.
Any suggestions
- why this might be happening?
- for a more reliable version test!
Comments
The problem stemmed from running the Recompile after the Installation (four times: twice for our RAD Studio XE7 and Seattle environments, and twice for 32 and 64 bit outcomes).
In each case we blithely assumed the compiles were successful - a nice dialog box pops up to say the output is in "C:\Program Files\FastCube 2 VCL Professional\LibD21" (or other) folder - however the memo window at the bottom of the Wizard was displaying "not compiled" for several *.dpk files.
Turns out the paths specified for FastReprot 4 [sic] and FastScript .dcu files, while correct, included a trailing '\'
Taking this trailing slash off the path fixed the compilations(!)
The GetFCVersion function now returns "2.5.5"
I have raised a support ticket on this.
[rant]
Revision-Version-Control is important, folk! If you aren't going to maintain this information for us, delete the Version property from your components and we'll revert to managing RVC ourselves! [img]style_emoticons/<#EMO_DIR#>/mad.gif" style="vertical-align:middle" emoid="" border="0" alt="mad.gif" /> [/rant][/img]