-
Windows SDK FAQ Sections
- <a href="https://forums.codeguru.com/showthread.php?350759-FAQ-Index/#sdk_general">General</a>
- <a href="https://forums.codeguru.com/showthread.php?350759-FAQ-Index/#sdk_window_types">Window Types</a>
- <a href="https://forums.codeguru.com/showthread.php?350759-FAQ-Index/#sdk_application">Application</a>
- <a href="https://forums.codeguru.com/showthread.php?350759-FAQ-Index/#sdk_memory_management">Memory Management</a>
- <a href="https://forums.codeguru.com/showthread.php?350759-FAQ-Index/#sdk_file_system">File System</a>
- <a href="https://forums.codeguru.com/showthread.php?350759-FAQ-Index/#sdk_process">Processes</a>
- <a href="https://forums.codeguru.com/showthread.php?350759-FAQ-Index/#sdk_thread">Threads</a>
- <a href="https://forums.codeguru.com/showthread.php?350759-FAQ-Index/#sdk_debugging">Debugging</a>
- <a href="https://forums.codeguru.com/showthread.php?350759-FAQ-Index/#sdk_registry">Registry</a>
- <a href="https://forums.codeguru.com/showthread.php?350759-FAQ-Index/#sdk_string">String</a>
- <a href="https://forums.codeguru.com/showthread.php?350759-FAQ-Index/#sdk_printing">Printing</a>
- <a href="https://forums.codeguru.com/showthread.php?350759-FAQ-Index/#sdk_user_interface">User interface</a>
- <a href="https://forums.codeguru.com/showthread.php?350759-FAQ-Index/#sdk_gdi">GDI</a>
- <a href="https://forums.codeguru.com/showthread.php?350759-FAQ-Index/#sdk_edit_control">Edit Control</a>
<hr noshade size="4">
<h3 id="sdk_general" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">General</h3>
- How to Get Hard Disk Serial Number?
- How to get the processor frequency?
- How to correctly use GetLastError?
- How to get the reason for a failure of a SDK function?
- What is the difference between 'BOOL' and 'bool'?
- How to register Windows Common Controls in a Win32 application?
- Which Windows API functions are faster, ANSI or UNICODE?
<h3 id="sdk_window_types" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">Window Types</h3>
- What is a child window?
- What is a top-level window?
- What is an owned window?
- Which are the differences between child and owned windows?
- What is an overlapped window?
- What is a pop-up window?
<h3 id="sdk_application" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">Application</h3>
- How to get the application name?
- How to set the current working directory?
- How to get the current working directory?
- How to get the application directory?
- How to retrieve the version information of my application?
- How to get the system directory?
- How to get the windows directory?
<h3 id="sdk_memory_management" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">Memory Management</h3>
- How to get the amount of physical (RAM) memory?
<h3 id="sdk_file_system" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">File System</h3>
- How to check for the existance of a directory/file?
- How to count files within a directory and subdirectories?
- How to search for files in a directory and subdirectories?
- How to delete a directory and subdirectories?
- How to get information about a partition?
- How to get the available logical partitions on my PC?
- How can I check the free space on a partition?
- How to open a folder?
- How to monitor a folder?
- How to delete, copy, or move a folder with all its contents?
<h3 id="sdk_process" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">Processes</h3>
- How to enumerate processes?
- How can I start a process?
- How can I kill a process?
- How can I wait until a process ends?
<h3 id="sdk_thread" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">Threads</h3>
- Where can I find references on Multithreading?
- How to create a worker thread?
- How to end a thread?
- How to use member functions as thread functions?
- How to check if a thread is still active?
<h3 id="sdk_dll" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">DLL</h3>
- How to build a resource-only DLL?
<h3 id="sdk_debugging" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">Debugging</h3>
- How to manage memory leaks?
- How to use 'ASSERT' and deal with assertion failures?
<h3 id="sdk_registry" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">Registry</h3>
- How can I access the registry?
- How can I read data from the registry?
- How can I write data to the registry?
<h3 id="sdk_string" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">String</h3>
- How to convert between ANSI and UNICODE strings?
- How to use 'CString' in non-MFC applications?
- How to convert between a 'CString' and a 'BSTR'?
- How to convert a numeric type to a string?
- How to convert a string into a numeric type?
- What are the rules for BSTR allocation and deallocation?
<h3 id="sdk_printing" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">Printing</h3>
- Why does printer not print bitmap?
<h3 id="sdk_user_interface" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">User Interface</h3>
- How can I emulate keyboard events in an application?
- How can I emulate mouse events in an application?
<h3 id="sdk_gdi" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">GDI</h3>
- How do I fill rectangles, regions and texts in graded colours?
- How do I choose a font size to exactly fit a string in a given rectangle?
- How do I display text filled and in shape of a region?
- How do I display a bitmap rotated?
- How do I calculate the area of a window exposed?
- How do I drag an image?
- How to capture layered windows?
<h3 id="sdk_edit_control" style="color:#2F4F4F;margin-top:0;margin-bottom:0;">Edit Control</h3>
- How to append text to an edit control?
<br><br>