2012/11/29 Martin <laza...@mfriebe.de>: > Just to confirm my observations. (again trying to get pascal script to work) > 64 bit windows >
Recently, i faced similar situation (porting assembly to 64bit). You can look there how i managed: http://lazarus-ccr.svn.sourceforge.net/viewvc/lazarus-ccr/components/virtualtreeview-new/branches/4.8/include/intf/win32/vtgraphicsi.inc?r1=2543&r2=2544 You can take into account also that Win64 is different from non windows See that i needed to ifdef in qt: http://lazarus-ccr.svn.sourceforge.net/viewvc/lazarus-ccr/components/virtualtreeview-new/branches/4.8/include/intf/qt/vtgraphicsi.inc?r1=2534&r2=2548 Luiz > procedure FOO(Sender: TSynEdit; const M: String; const P1, P2: TPoint); > > "const P1, P2: TPoint" versus "P1, P2: TPoint" > > if "const" is NOT used, then TPoint is put into a register > if "const" is used, then TPoint is in mem, and the register is a reference. > > Is that right? (I know the doc says, no assumption, and can be ref or > value) > > > > _______________________________________________ > fpc-devel maillist - fpc-devel@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-devel _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel