Errors install FastReport 414 in Lazarus with Windows 7 64.

edited 6:13PM in FastReport 4.0
Hello,

This occurring errors below to install FastReport 4:14 in Lazarus with Windows 7 64.



C:\des\Componentes\FastReport_4_14\FastScript\fs_isysrtti.pas(92,27) Hint: Local variable "ar" does not seem to be initialized
C:\des\Componentes\FastReport_4_14\FastScript\fs_isysrtti.pas(66,26) Hint: Parameter "Instance" not used
C:\des\Componentes\FastReport_4_14\FastScript\fs_isysrtti.pas(66,45) Hint: Parameter "ClassType" not used
C:\des\Componentes\FastReport_4_14\FastScript\fs_isysrtti.pas(68,26) Hint: Parameter "Instance" not used
C:\des\Componentes\FastReport_4_14\FastScript\fs_isysrtti.pas(68,45) Hint: Parameter "ClassType" not used
C:\des\Componentes\FastReport_4_14\FastScript\fs_isysrtti.pas(70,26) Hint: Parameter "Instance" not used
C:\des\Componentes\FastReport_4_14\FastScript\fs_isysrtti.pas(70,45) Hint: Parameter "ClassType" not used
C:\des\Componentes\FastReport_4_14\FastScript\fs_isysrtti.pas(72,26) Hint: Parameter "Instance" not used
C:\des\Componentes\FastReport_4_14\FastScript\fs_isysrtti.pas(72,45) Hint: Parameter "ClassType" not used
C:\des\Componentes\FastReport_4_14\FastScript\fs_isysrtti.pas(74,26) Hint: Parameter "Instance" not used
C:\des\Componentes\FastReport_4_14\FastScript\fs_isysrtti.pas(74,45) Hint: Parameter "ClassType" not used
C:\des\Componentes\FastReport_4_14\FastScript\fs_isysrtti.pas(506,26) Error: Can't determine which overloaded function to call
C:\des\Componentes\FastReport_4_14\FastScript\fs_isysrtti.pas(508,26) Error: Can't determine which overloaded function to call
C:\des\Componentes\FastReport_4_14\FastScript\fs_isysrtti.pas(580) Fatal: There were 2 errors compiling module, stopping


Thank you,

Comments

  • edited 6:13PM
    No one answered my questions.
  • edited June 2013
    You can cast parameters to Int64 to avoid ambiguous function calls :

    if MethodName = 'ROUND' then
    Result := frxInteger(Round(Int64(Caller.Params[0])))
    else if MethodName = 'TRUNC' then
    Result := frxInteger(Trunc(Int64(Caller.Params[0])))

    This lets you compile the fastscript package, but there is a more serious problem in the fast-report package in frxCtrl.pas with casting a windows message. I wrote a service ticket, but don't expect a quick solution.

    Best regards
  • edited 6:13PM
    Just got answer for my support ticket :

    "We're planning to implement this feature in next versions."


    Well, I don't expect too much, but receiving an answer at all is a good sign ;-)

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.