Windows is a family of operating systems developed by Microsoft. It was first released in 1985 and has since become the most popular desktop operating system worldwide, with a market share of about 70%. The latest version for consumer PCs and tablets is Windows 11, while certain older versions are still supported and maintained by Microsoft.
Key considerations#
- You'll need to make an installer and potentially a portable package with auto updating to distribute your application despite Windows offers an "official" software repository
- Windows is the only system that is not Unix-like, despite it provides POSIX-compliant APIs
- You might need to sign your executables, otherwise Windows would probably treat your application as a virus and make launching your executables a lot harder
AUI implementation specifics#
- Class AComBase< Child, Base >
- This API is available on Windows (operating system) only.
- Class AComPtr< T >
- This API is available on Windows (operating system) only.
- Class ACustomCaptionWindow
- Since Windows does not provide APIs to the customize caption, AUI implements and renders caption by itself, including window icon, title and buttons.
- Namespace AMessageBox
- Implemented with MessageBox.
- Member APath::APPDATA
- Maps to
C:/Users/ user% /.appdata/Roaming/
.
- Member APath::HOME
- Maps to user's home folder
C:\\Users\\ user%
.
- Member APath::systemSlashDirection () const
- Returns path with backward slashes
\\
.
- Member APath::TEMP
- Maps to user's temp folder
temp%
.
- Member AProcess::ArgStringList::win32WrapWhitespaceArgumentsWithQuots
- Takes action only on Windows platform.
- Member AProcess::executeAsAdministrator (const AString &applicationFile, const AString &args={}, const APath &workingDirectory={})
- This API is available on Windows (operating system) only.
- Member AProcess::ProcessCreationInfo::args
- Windows native APIs use arguments as a single string. If ArgStringList variant is chosen, AUI converts array of strings to a single command line string value. See ArgStringList for details of this conversion.
- Member aui::win32::bitmapToImage (HBITMAP hbitmap)
- This API is available on Windows (operating system) only.
- Member aui::win32::fromWchar (std::wstring_view string)
- This API is available on Windows (operating system) only.
- Member aui::win32::iconToImage (HICON hIcon)
- This API is available on Windows (operating system) only.
- Member aui::win32::toWchar (const AString &string)
- This API is available on Windows (operating system) only.
- Member aui::win32::toWchar (AString &string)
- This API is available on Windows (operating system) only.
- Member aui::win32::toWcharView (const AString &string)
- This API is available on Windows (operating system) only.
- Class Pipe
- On Windows, implemented with CreateNamedPipe.