The Wayback Machine - https://web.archive.org/web/20101205090607/http://www.codeguru.com/cpp/w-p/system/misc/

    Misc

    [Updated] Determine Windows Version and Edition

    Learn about a comprehensive method of getting the Windows version and differentiate among the various editions.

    Cover Blown on Windows 8 Release?

    Did a former Microsoft employee post projected ship dates for upcoming key products like Windows 8?

    A Web Developer's Look at Windows 7

    The new Windows 7 user interface features can offer Web developers significant productivity gains in terms of organizing, finding, and navigating to commonly used resources. This article introduces you to the improvements which can cut significant time from otherwise mundane daily workflow tasks.

    Build Build Resilient Applications with Windows Recovery and Restart Applications

    Even the best-written C++ applications can crash or hang-and end-users' perceptions of the application hinge on how gracefully the application works with the operating system to handle such problems. By registering your applications with Windows Application Recovery and Restart, they can recover gracefully after errors occur.

    DevicePath Information

    Discover how to retrieve device path and device instance id for storage devices attached to the system.

    Raw Input Device informations

    Discover how to retrieve information on your computer's devices including the mouse, keyboard, and other peripherals attached to the system.

    Handling Multiple Processors in Your Code Using RapidMind

    Multicore processors bring new challenges. See a solution for gaining the ability to scale to the increasing number and types of processor cores.

    Determining Whether a DLL or EXE Is a Managed Component

    Learn how to check whether or not a component is a .NET managed component. Also, learn to get other information, such as dependent assemblies, from the metadata using Microsoft APIs and related COM interfaces.

    Hooking a DirectX/COM Interface

    Learn how to hook a DirectX/COM Interface. The DirectInput interface was used as an example of how to hook an interface function.

    Inject Your Code to a Portable Executable File

    Learn the five steps needed to inject your code in a portable executable (EXE, DLL, OCX,...) file without recompiling the source code.

    Creating and Switching to Different Desktops

    Switch to and create different desktops in a Windows system.

    OS Independent Windows System Shut Down Class

    This class is a light wrapper around the Windows system shut down stuff. By using this class you can shut down, restart, or log off either forcefully or normally without worrying about what type of OS it is.

    Activation Timer -- a Simple Task Scheduler

    Handling multiple periodic jobs is a common problem in Windows programming. Discover a simple yet powerful set of classes that greatly reduces effort (and headache) required to accomplish this task. (The article, demo project, and source code were updated.)

    Shutting Down a Remote Machine on a Local Network

    Discover this simple way to shut down a remote Windows machine by using the InitiateSystemShutdown API function.

    Detecting Multiple Instances of an Application in VC++

    Detecting multiple instances of an application in VC++.

    Recursive, Upgradable Read/Write Lock for Windows

    Read/write lock is a synchronization mechanism that can be used to efficiently protect a shared resource in an environment with multiple readers and writers. Unlike traditional mutex, read/write lock allows readers to access the resource concurrently.

    API Hooking Revealed

    How to implement an extensible framework for hooking Win32 API functions.

    Adding Your Logo to Winlogon's Dialog

    GINA (Graphical Identification and Authentication) is a DLL component that is loaded by the Winlogon executable. This replaceable DLL performs all identification and authentication user interactions. You can use this DLL to add your logo to winlogon's dialog.

    Reading/Writing Disk Sectors (Absolute Disk Read/Write)

    Tells how to read / write disk sectors, how to do absolute disk read/write from VC++. The demo project reads specified number of floppy disk sectors from a specified sector and store it to a specified file.

    Forensic Inspection of Hard Disks

    Understand forensic analysis of hard disks using Visual C++, MFC, and systems programming.

    A Service API

    Check out this Service API that consists of a set of functions and a couple of callback functions that must be supported. Together, these functions allow an application to run independent of any logged-on user.

    Undeleting in Windows 95/98/Me/NT/2000/XP

    Undeleting files is often necessary. This is true even if you have accidentally deleted files from the Recycle Bin or if the files or folders have been purposely tampered with.

    Editing Large Disks in Windows 95/98/ME/NT/2000/XP

    See how to edit disk information from your programs.

    Hooking Keyboard messages from Internet Explorer

    This article demonstrates an example using hooks.

    HOOK - A HowTo for setting system wide hooks

    This article features a HowTo to write, set and make use of system wide hooks.






    Internet.com
    The Network for Technology Professionals

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers