The ANSI function to Ansi-fy.
This table is not a divine revelation, but my personal reference book.
| Ansi-fy | Wide Char, Unicode | Units | |
const
C = '...'; |
const
C: AnsiString = '...'; |
||
| CompareText | AnsiCompareText | SysUtils; AnsiStrings | |
| CompareStr | AnsiCompareStr | SysUtils; AnsiStrings | |
| FindWindow | FindWindowA | FindWindowW (in Delphi Versions >= 2009 the same as FindWindowW) |
|
| GetDiskFreeSpace | GetDiskFreeSpaceA | GetDiskFreeSpace (in Delphi Versions >= 2009 calls GetDiskFreeSpaceW) |
Windows |
| GetTempPath | GetTempPathA | GetTempPath (in Delphi Versions >= 2009 calls GetTempPathW) |
Windows |
| ShellExecute | ShellExecuteA | ShellExecuteW (in Delphi Versions >= 2009 the same as ShellExecute) |
ShellApi |
| ShellExecute | ShellExecuteA | ShellExecuteW (in Delphi Versions >= 2009 the same as ShellExecute) |
ShellApi |
| ShellExecuteInfo | ShellExecuteInfoA | ShellExecuteInfoW (in Delphi Versions >= 2009 the same as ShellExecuteInfo) |
|
| SHGetPathFromIDList | SHGetPathFromIDListA | SHGetPathFromIDList (in Delphi Versions >= 2009 calls SHGetPathFromIDListW) |
ShlObj |
| StrAlloc | AnsiStrAlloc | in Delphi Versions >= 2009 StrAlloc calls WideStrAlloc | SysUtils |
| UpperCase | AnsiUpperCase | UpperCase | SysUtils |
This article will not be complete, some text was removed intentionally. If you are unable to apply this, please contact for paid consultation.
Данная статья не будет полной, часть текста была удалена намеренно. Если вам не удалось применить, обращайтесь за платной консультацией.

No comments:
Post a Comment