Francisco Armando Dueñas Rodriguez

Forum Replies Created

Viewing 5 reply threads
  • Author
    Posts
    • #54152

      Thanks Kim, it can also be a method of the current class, but don’t know a way it can be called/specified  in the the attributes.  That will help because we can use the ‘self’ passed to the method to use directly the class instead of Casting it.

       

      regards

    • #54151

      Thanks Kim and MrLuigi, yes maybe thats why my confuse. I thought all where freed. So seems all ok with ORM engine.

    • #53908

      Hope it will be soon

    • #53523

      I have the same issues:

      I fixed it just by declaring a class like:

      TPersonList = TObjectList<TPerson>;

      This goes below the declaration of the Class Tperson and thats fixes that issue.

      But after doing some tests ti the kbmMWORM Standalone demo, after exiting it seems there are some memory leaks there.

    • #53494

      The error: Type ‘XXXXX’ is not declared in the interface section of a unit. seems to be fixed if your declare a Class in the interface section like:

      TPersonObjectList = TObjectList<TPerson>

      Is this an introduced BUG? or maybe the behaviour have changed and the demos have to be updated.

       

    • #53490

      Also when testing the button: ‘Query person with accounts’ it throws the exception:

      —————————
      Debugger Exception Notification
      —————————
      Project Project5.exe raised exception class ENonPublicType with message ‘Type ‘TObjectList<uData.TPersonWithAccounts>’ is not declared in the interface section of a unit’.
      —————————
      Break Continue Help
      —————————

      the buttons ‘Query list #1’ also:

      —————————
      Project5
      —————————
      Type ‘TObjectList<uData.TPerson>’ is not declared in the interface section of a unit.
      —————————
      OK
      —————————

      I’km using latest kbmmw and delphi 10.3.1

       

    • #53492

      You dont have to modify kbmMWConfig.inc every time, just add the DCP runtime packages of ReportBuilder as a reference in the runtime packages of kbMMW,recompile and that will do the magic, doing that before compiling kbmmw pàckages will prevent the compiler to include the units of RB to the kbmMWPackages. It will only add a binding  to the RB DCP runtime packages.

    • #53489

      Hi wel it seesm my confussion was because somsde exceptions they occur when debugging.

      —————————
      Debugger Exception Notification
      —————————
      Project Project5.exe raised exception class EkbmMWException with message ‘Modify failed’.
      —————————
      Break Continue Help
      —————————

      But yes, Yes as you say, they are inserted wihout problems.

      But after closing the app it throw some memory leak reports:

      —————————
      Unexpected Memory Leak
      —————————
      An unexpected memory leak has occurred. The unexpected small block leaks are:

      1 – 12 bytes: Unknown x 6

      13 – 20 bytes: UnicodeString x 6

      29 – 36 bytes: TValueDataImpl x 6

      37 – 44 bytes: UnicodeString x 2

      45 – 52 bytes: TAccount x 3, TkbmMWAutoValue x 6, UnicodeString x 1

      77 – 84 bytes: UnicodeString x 5

       

    • #53464

      Hi Kim, >Thanks, also please check some of the other demos, Like the ORM demo, it crashes everywhere, when trying to add the records, delete, etc.

      Regards

Viewing 5 reply threads