Menu

Delphi 5 version?

2004-03-01
2004-03-02
  • Nobody/Anonymous

    Hi

    I downloaded the latest Beta 13 release and want to ask if there are any plans also to make a Delph 5 version? Especially for the IDE pluggin version?

    in hope

    Ralf Grenzing

     
    • Anthony Steele

      Anthony Steele - 2004-03-01

      The IDE plugin source should compile in Delphi 5. The other EXEs will work as-is on Delphi-5 source.

       
      • Ralf Grenzing

        Ralf Grenzing - 2004-03-01

        but there is no version for Delphi 5 in the IdePluggin directory and from a first sight the IdePluggin\JcfIde6.dpk version uses some D6 and above specific stuff.

         
    • Anthony Steele

      Anthony Steele - 2004-03-01

      We have delphi 5 here at work, and I have done this. It is not a no-brainer, not as simple as I thought, but is fairly straightforward if you know what to do ;)

      Firstly you need to simulate two functions that are not present in Delphi 5.

      I chose to put them in JclMiscFunctions:

      {$IFNDEF DELPHI6_UP}
      function IncludeTrailingPathDelimiter(const psPath: string): string;
      begin
        Result := psPath;
        if StrRight(psPath, 1) <> PathSeparator then
          Result := Result + PathSeparator;
      end;

      { dummy for D5}
      function FileIsReadOnly(const psFile: string): boolean;
      begin
        Result := False;
      end;

      {$ENDIF}

      And put them in the interface of that unit, and add it to various uses clauses where these functions are used.

      Then you need a .dpk file in Delphi 5 format.

      I've put this in a zip file, with the compiled package, in the "patches" section of this site

       
      • Ralf Grenzing

        Ralf Grenzing - 2004-03-02

        Hi

        thanx a lot, I just tried it, but the problem is now, that you compile the package with runtime packages and when I try to install the error occurs that JVCL200_R50 could not be found. would it mind you to build another one for me without runtime packages? I definitive would appreciate it!

        BTW: the latest JVCL is now the beta for JVCL 3

         
        • Anthony Steele

          Anthony Steele - 2004-03-02

          Uh - it is not just a simple recompile with the latest JVCL.

          The JVCL 3 beta 1 doesn't have the TJVIntegerEdit control that I was using. Perhaps they have renamed or superceded it. I have asked on thier forums, and shall wait until the situation is clearer.

           
          • Ralf Grenzing

            Ralf Grenzing - 2004-03-02

            have you used the newsgroups? The forums are nearly dead

             
    • Anthony Steele

      Anthony Steele - 2004-03-02

      JVCL is moving forward? Good!

      JCF shall have to catch up with it, not just in Delphi 5.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.