|
Filenames
In Windows, the ANSI character set is used in window manager and GDI; the
MS-DOS FAT file system uses the OEM character set. Windows applications that create
MS-DOS files have sometimes had to use the CharToOem and OemToChar functions to translate between these character sets. However, the New
Technology file system (NTFS) is capable of storing filenames in Unicode; no
translation is necessary with NTFS.
With Unicode implementations of the file-system functions, it is not necessary
to perform translations to and from ANSI and OEM character sets. Instead, a
developer can use a single source file to compile non-Unicode versions of an
application by providing macros for functions that are not invoked when compiling
for Unicode, such as CharToOem and OemToChar.
The special filename characters in MS-DOS are unchanged in Unicode filenames:
"\," "/," ".," "?," "*."
These special characters are in the ASCII range of characters (0x00 through
0x7F) and their Unicode equivalents are simply the same values in a 2-byte form:
0x0000 through 0x007F.
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|