Difference between revisions of "Talk:Code Conversion Guide"
From Lazarus wiki
Jump to navigationJump to search (→Out of date?: updated) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
[[User:Vincent|Vincent]] 06:13, 21 Feb 2005 (PST) | [[User:Vincent|Vincent]] 06:13, 21 Feb 2005 (PST) | ||
+ | == Blog by Rednaxel == | ||
+ | |||
+ | http://port2laz.blogspot.com/ | ||
+ | |||
+ | == Resources == | ||
+ | Aren't there things changed in the 2.2 resource support? [[User:Marcov|Marcov]] 16:16, 9 September 2007 (CEST) | ||
− | + | Yes, FPC 2.2 supports resources on ELF executables too. Should we add a notice box on the (Resources) section or just remove it altogether? [[User:Etrusco|Etrusco]] 2008-04-10 06:36 UTC | |
− | + | == 32bit/ 64 bit support == | |
+ | The presented solution for non-fpc is to declare PtrInt to be Integer. | ||
+ | Obviously this won't work on 64-bit Delphi. | ||
+ | Since fpc now also hase NativeInt (an alias for PtrInt), shouldn't a better solution be: | ||
+ | <syntaxhighlight lang="pascal"> | ||
+ | {$IFNDEF FPC} | ||
+ | type | ||
+ | PtrInt = NativeInt; | ||
+ | PtrUInt = NativeUInt; | ||
+ | {$ENDIF}</syntaxhighlight> |
Latest revision as of 12:41, 6 November 2023
The release of components has to be reviewed.
- New templates have to be created.
- Maybe it is a good idea to use the talk pages as comment pages for released components.
Vincent 06:13, 21 Feb 2005 (PST)
Blog by Rednaxel
Resources
Aren't there things changed in the 2.2 resource support? Marcov 16:16, 9 September 2007 (CEST)
Yes, FPC 2.2 supports resources on ELF executables too. Should we add a notice box on the (Resources) section or just remove it altogether? Etrusco 2008-04-10 06:36 UTC
32bit/ 64 bit support
The presented solution for non-fpc is to declare PtrInt to be Integer. Obviously this won't work on 64-bit Delphi. Since fpc now also hase NativeInt (an alias for PtrInt), shouldn't a better solution be:
{$IFNDEF FPC}
type
PtrInt = NativeInt;
PtrUInt = NativeUInt;
{$ENDIF}