Difference between revisions of "Talk:Code Conversion Guide"
From Lazarus wiki
Jump to navigationJump to searchLine 13: | Line 13: | ||
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 | 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}