Forum Replies Created
-
AuthorPosts
-
-
August 23, 2019 at 14:29 #54152
Francisco Armando Dueñas Rodriguez
ParticipantThanks 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
-
August 23, 2019 at 14:26 #54151
Francisco Armando Dueñas Rodriguez
ParticipantThanks Kim and MrLuigi, yes maybe thats why my confuse. I thought all where freed. So seems all ok with ORM engine.
-
April 17, 2019 at 13:12 #53908
Francisco Armando Dueñas Rodriguez
ParticipantHope it will be soon
-
April 5, 2019 at 14:56 #53523
Francisco Armando Dueñas Rodriguez
ParticipantI 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.
-
This reply was modified 6 years, 10 months ago by
Francisco Armando Dueñas Rodriguez.
-
This reply was modified 6 years, 10 months ago by
-
March 19, 2019 at 20:22 #53494
Francisco Armando Dueñas Rodriguez
ParticipantThe 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.
-
March 19, 2019 at 08:06 #53490
Francisco Armando Dueñas Rodriguez
ParticipantAlso 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
-
This reply was modified 6 years, 11 months ago by
Francisco Armando Dueñas Rodriguez.
-
This reply was modified 6 years, 11 months ago by
-
March 19, 2019 at 08:23 #53492
Francisco Armando Dueñas Rodriguez
ParticipantYou 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.
-
March 19, 2019 at 03:45 #53489
Francisco Armando Dueñas Rodriguez
ParticipantHi 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
-
March 1, 2019 at 06:52 #53464
Francisco Armando Dueñas Rodriguez
ParticipantHi 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
-
-
AuthorPosts
