Menu

Runtime Error when Starting Program

2004-06-04
2012-07-18
  • Antonio Cambule

    Antonio Cambule - 2004-06-04

    Hi,

    I get an Runtime Error when I start DelphiCodeToDoc.exe.

    So I installed the Jedi Components to see what it's like, here the Delphi Error Message, translated from German:

    EZeroDivideError: Division by Zero

    Debugger stops on:

    procedure GetCpuInfo(var CpuInfo: TCpuInfo);
    of unit JclSysInfo

    on line:
    CpuInfo.MMX := (CpuInfo.Features and MMX_FLAG) = MMX_FLAG;

    I've got an relatively new Computer with
    Intel P4, 3.2 Ghz
    OS: WinXP Pro

    Maybe it's a problem of Jedi Components, I don't know if systeminformation is needed,
    so if you could take a look or give me an advice, would be great. I would like to make testrun, maybe we will use it for our Projects.

    regards
    Antonio Cambule

     
    • Antonio Cambule

      Antonio Cambule - 2004-06-04

      I've taken a look on Jedi Newsgroup.
      It depends on the fast CPU and the problem that JCL makes an CPU Speed Test, that runs into an division by Zero on Fast CPUs.

      There is an fix of the unit JclSysInfo in the binary group. I downloaded the Testapp, and the fix. While the fix in the Testapp seems to run, the unit has some other problems. I posted it into the JCL newsgroup, maybe I get an answer there.

      regards
      Antonio Cambule

       
    • Antonio Cambule

      Antonio Cambule - 2004-06-04

      Hi,

      Ok, I've got it. Just change the GetCPUSpeed function from the original JclSysInfo.pas not overwrite with the new one, because it is from the new version and that doesn't work together.

      regards
      Antonio Cambule

       
      • TridenT

        TridenT - 2004-06-05

        ok, I've read your post in the newsgroup.
        I will change the buggy function, and write a note on the change that must be made to compile the application.

        Thanks for your submission, and the fix you made :)

        Will be integrated in next v0.7a

         
      • TridenT

        TridenT - 2004-06-19
         

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.