tag:blogger.com,1999:blog-1532151022505671498.post5153479450682255119..comments2023-11-24T22:28:36.140+01:00Comments on Delphi sorcery: CodeRage 6 feedback and DSharp newsStefan Glienkehttp://www.blogger.com/profile/05509404049325709406noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-1532151022505671498.post-76060805499804326952013-09-25T19:20:35.719+02:002013-09-25T19:20:35.719+02:00I thought I was nuts when I first found out that G...I thought I was nuts when I first found out that GetTypes only returns public types (the ones in the interface sections of units; private ones in the implementation section are not listed with GetTypes). See for instance https://gist.github.com/jpluimers/6701746 There is a blog entry scheduled for http://wiert.me/2014/03/25/delphi-trtticontext-gettype-versus-trtticontext-gettypes-is-not-about-singular-versus-plural-but-about-all-versus-public-types that also explains the differences between getting qualified names from RTTI and from TClass itself.Anonymoushttps://www.blogger.com/profile/04244706419710554421noreply@blogger.comtag:blogger.com,1999:blog-1532151022505671498.post-53753583663990761252013-06-02T18:09:13.478+02:002013-06-02T18:09:13.478+02:00Excellent, thanks!Excellent, thanks!Anonymoushttps://www.blogger.com/profile/13995749667790292914noreply@blogger.comtag:blogger.com,1999:blog-1532151022505671498.post-49276999526883281942013-06-01T16:34:20.642+02:002013-06-01T16:34:20.642+02:00I am so sorry I missed to commit that new file las...I am so sorry I missed to commit that new file last month when I made changes. I will add it on monday as I currently have no access to that file.Stefan Glienkehttps://www.blogger.com/profile/05509404049325709406noreply@blogger.comtag:blogger.com,1999:blog-1532151022505671498.post-6720667046313262822013-06-01T16:26:32.806+02:002013-06-01T16:26:32.806+02:00I'd like to use your DSharp mocking framework,...I'd like to use your DSharp mocking framework, but it doesn't compile due to DSharp.Testing.Mock.Setup not being there. Can you upload that file?Anonymoushttps://www.blogger.com/profile/13995749667790292914noreply@blogger.comtag:blogger.com,1999:blog-1532151022505671498.post-31565504070206437362011-10-26T18:55:30.372+02:002011-10-26T18:55:30.372+02:00Unfortunately in Delphi 2010 the TMethodImplementa...Unfortunately in Delphi 2010 the TMethodImplementation class does not exist which made it possible for me to implement the TVirtualInterface for Delphi XE without any assembler crafting which is beyond my knowledge.<br /><br />I anyone feels like implementing it for Delphi 2010 go ahead.Stefan Glienkehttps://www.blogger.com/profile/09320735081289619570noreply@blogger.comtag:blogger.com,1999:blog-1532151022505671498.post-17237181635724011512011-10-24T06:31:07.935+02:002011-10-24T06:31:07.935+02:00Works fine with XE (as I did my own implementation...Works fine with XE (as I did my own implementation for TVirtualInterface), not tested with 2010 yet. And with the Logging aspect I already created it is possible to log all parameters and the Result (I did not implement logging of var and out parameters yet). I have to do some extensive testing on different calling conventions and that stuff but the basic things are working.Stefan Glienkehttps://www.blogger.com/profile/09320735081289619570noreply@blogger.comtag:blogger.com,1999:blog-1532151022505671498.post-4880419644909324262011-10-24T06:14:56.412+02:002011-10-24T06:14:56.412+02:00AOP for interfaces! Logging each call and paramete...AOP for interfaces! Logging each call and parameters passing in and out would be great.<br />But what version of Delphi is targeted?IlyaShttps://www.blogger.com/profile/08819308219512123442noreply@blogger.com