The Wayback Machine - https://web.archive.org/web/20071105073346/http://www.codeguru.com:80/cpp/w-p/win32/

CodeGuru
Earthweb Search
Forums Wireless Jars Gamelan Developer.com
CodeGuru Navigation
Member Sign In
User ID:
Password:
Remember Me:
Forgot Password?
Not a member?
Click here for more information and to register.
Biz Resources
Technology Asset Management Software
Information Technology Services
ecommerce solutions

jobs.internet.com

internet.commerce
Partners & Affiliates
Online Universities
Custom Products
Data Center Solutions
KVM over IP
Auto Insurance Quote
GPS Devices
Corporate Awards
Laptop Computers
Promos and Premiums
Server Racks
KVM Switch over IP
Blog
Mortgage Refinance
GPS


RSS Feeds

RSSAll

RSSVC++/C++

RSS.NET/C#

RSSVB

See more EarthWeb Network feeds

Home >> Visual C++ / C++ >> Windows Programming >> Win32


Usability and Design
The Usability and design space brings together the latest information, research, tools, podcasts, and conference information related to usability and design. Content is pulled from IBM and non-IBM sites. »
 
Ajax Resource Center
This space is your one-stop shop for information on the Ajax programming model, including articles and tutorials, discussion forums, blogs, wikis, events, and news. If it's happening, it's covered here. »
 
Linux Security
The Linux security space gives an overview of security issues related to Linux and covers all aspects of securing a Linux distribution. It also links to Linux security-related news and articles. »
 
Ruby Programming
Take a closer look at Ruby, a dynamic programming language that is growing rapidly in popularity. Explore its intriguing features and learn what programmers are doing with it. »
 
Wiki: WebSphere, SOA, J2EE in Practice
This wiki discusses how to use J2EE and related technologies to develop business applications, including how to make best use of IBM J2EE products like WebSphere Application Server and Rational Application Developer, and IBM SOA products like WebSphere Process Server and WebSphere Integration Developer. While it occasionally delves into tangential topics and future trends, the primary focus is on how to make use of the products and technologies that we have today. »

Case Study: Land of Lincoln Leaves Out Linux. Learn how Microsoft helped the state of Illinois serve its 12 million constituents more quickly while saving taxpayer dollars.

Win32

Cursors



GUI-Based RunAsEx
Rating:
Zhefu Zhang - 03/16/2004
Many of you must have heard of a tool called "RunAs" that originated from the WinNT4 Resource Kit; and from Win2K.

Creating a Color Cursor from a Bitmap
Rating: none
Jiju George T - 10/20/2003
Create a color cursor from an HBITMAP. Learn how to first create and display a cursor on the screen as well as how to convert an HBITMAP to a HCURSOR.


MessageBox



Task Dialogs in Vista
Rating:
kirants - 02/08/2007
If you have been using Vista, you would have noticed that MessageBoxes are passé. These have been replaced by the new Task Dialogs. Task dialogs are intended to make the experience more interactive and goal-oriented. Take a tour of the Task Dialog API.

MessageBox with Custom Button Captions
Rating: none
Miguel Schindler - 11/23/2005
Windows message boxes do not provide a standard interface for modifying button captions. Learn how to make the caption changes.

CBT Message Box
Rating:
Tony Varnas - 02/10/2003
A Win32 API MessageBox enhancement that automatically centers a message box to its parent window. (The source code was updated.)


Security



Distributed Network Object
Rating:
Ejaz Anwer - 10/22/2007
Learn to use the "Network Distributed Object Model" to have a simplified way of performing network communication at the object level.

Injective Code Inside an Import Table
Rating:
Ashkbiz Danehkar - 07/13/2006
Learn to inject your code into an Import Table of a Portable Executable file format. This is called the API redirection technique.

Crypto++® Holds the Key to Encrypting Your C++ Application Data
Rating:
Victor Volkman - 05/15/2006
The need to encrypt sensitive information is more important than ever. Luckily, the C++ class library Crypto++ enables you to encrypt your application data regularly and painlessly.

Inject Your Code to a Portable Executable File
Rating:
Ashkbiz Danehkar - 03/02/2006
Learn the five steps needed to inject your code in a portable executable (EXE, DLL, OCX,...) file without recompiling the source code.

Bulletproof Windows XP
Rating:
ZOverLord - 02/27/2006
Currently, this is the best way to protect XP systems from malware and accidental changes.

Crypt(API) any data WITHOUT password
Rating: none
dr Wolf - 03/05/2002
This is a set of complex functions for crypting, decrypting, hashing, signing and so on.


Tutorials



[Updated] Thunking in Win32
Rating:
einaros - 01/10/2007
Learn about an approach to creating thunks/trampolines to non-static member functions in 32-bit VC++.

Product Keys Based on Elliptic Curve Cryptography
Rating:
Jeffrey Walton - 12/12/2006
Protect software with product keys based on Elliptic Curve Cryptography.

Product Keys Based on the Advanced Encryption Standard (AES)
Rating:
Jeffrey Walton - 11/28/2006
Protect Software with Product Keys based on the Advanced Encryption Standard (AES).

Hacking Icon Resources
Rating: none
Vlad Riscutia - 11/27/2006
Learn how to replace the displayed icon of an executable file with an .ICO file of your choice.

Message Only Window
Rating: none
einaros - 10/10/2006
Learn how to build an efficient library to provide support for Message Only Windows. The article also shows how to use the Thunk32 library provided in an earlier article, as well as some general pointers on good practices and patterns.

Mpatrol
Rating: none
Robert Schmitt - 07/27/2006
Mpatrol has been around for quite some time. It is a simple library that hooks into memory management. Learn how to use it on the Windows platform.

[Updated] Setting a System Environment Variable
Rating:
Darka - 06/06/2006
Discover a free tool (with source code) that demonstrates how to programatically set System Environment Variables.

[Updated] XP Theme Support for Rich Edit and Custom Controls
Rating:
Patchou - 01/12/2006
Learn how to add genuine Windows XP theme support to Rich Edit controls and extend the code for your own custom controls!

Win32 Thread Synchronization, Part 2: Helper Classes
Rating:
Arjay - 05/24/2005
Learn about thread synchronization helper classes and their implementation, and sample projects.

Win32 Thread Synchronization, Part I: Overview
Rating:
Arjay - 05/20/2005
Learn about processes, threads, and a couple of thread synchronization techniques.

Inside CRT: Debug Heap Management
Rating:
Marius Bancila - 04/04/2005
Learn how heap memory allocation/deallocation via new-delete/malloc-free is made for a debug build of your program.

HeapWalker
Rating: none
Dinesh Ahuja - 03/30/2005
Learn how the heap blocks are allocated and how are they managed in WIN 2K. The main purpose of the article is to understand how committed and uncommitted memory blocks are distributed.

Rebooting a Windows Box Programmatically
Rating:
raghuvamshi - 12/15/2004
An intro to concepts such as access tokens and some facets of the Win32 API, to aid the beginner-intermediate level Windows developer.

Using Message Crackers in the Win32 API with the MCW Tool
Rating:
Hernán Di Pietro - 01/29/2004
A class wizard-like helper tool for using WINDOWSX.H message crackers to make your code more convenient, portable, and type-safe when working with message handlers.

A NotQuiteNullDacl Class
Rating:
Anne Gunn - 03/26/2002
There are a number of danger in using a Null Dacl to open up access to objects. Given the recent emphasis by Microsoft on security issues, this is a timely article on how to avoid some of the dangers.


Versioning



Versioning in Windows
Rating: none
Henri Hein - 10/24/2003
Windows has a built-in version concept, and it's a good idea to make use of this by version stamping all your binary modules. Learn how to best use version information in your application.


Win32



Win32 Self-Deletion Function
Rating:
Tony Varnas - 06/09/2003
Use this method to create a self-deleting executable This works by invoking the command shell as a serialized process to delete the program file. (The article and source code were updated.)

Dynamically loading classes from DLLs
Rating:
Jürgen Kraus - 10/01/2002
Dynamically loading classes from DLLs

Using a Non-Blocking Versions of Win32 Wait Functions
Rating: none
Andy Smith - 07/31/2002
A wait function that won't block the message queue.

EventManager CWnd Derived
Rating: none
Ganesan Subramaniam - 04/03/2002
This article presents an Event Manager class to route messages to CWnd derived classes. The concept of this class is based on the popular Publisher / Subscriber idea.

PostMsg - Post a message to any window on the desktop
Rating: none
Matt Spaulding - 08/23/2001
The project is called PostMsg and was created to post a message to any window on the current desktop. This was useful while testing COM servers, but is generic in nature and can be used to send any message.

Translate Between Short and Long Paths
Rating:
Navi Singh - 05/17/1999
Translate Between Short and Long Paths

Retrieving the parent of a process (WinNT)
Rating:
J|rgen Kraus - 05/15/1999
Retrieving the parent of a process (WinNT)

A Simple Win32 Command-Line Parser
Rating:
Eric Tetz - 05/06/1999
A Simple Win32 Command-Line Parser

Encrypting and decrypting sensitive data using CryptoAPI
Rating: none
Jorge Lodos - 03/13/1999
Encrypting and decrypting sensitive data using CryptoAPI

Class to get a thread safe count of previous Instances
Rating: none
Mike Junkin - 03/12/1999
Class to get a thread safe count of previous Instances

Query the Value of a Semaphore
Rating: none
Hermann Schinagl - 03/06/1999
Query the Value of a Semaphore

Inter-Process Communication Using WM_COPYDATA
Rating: none
Rick York - 02/06/1999
Inter-Process Communication Using WM_COPYDATA

Task Tray Applet Framework
Rating:
Len Holgate - 08/29/1998
Task Tray Applet Framework

Registry API Wrapper
Rating: none
Len Holgate - 08/29/1998
Registry API Wrapper

PS (Process Status) for Windows 95 and Windows NT
Rating: none
Jerry Coffin - 08/06/1998
PS (Process Status) for Windows 95 and Windows NT

Control Panel Applet Framework
Rating: none
Len Holgate - 08/06/1998
Control Panel Applet Framework

Getting free resource under Windows 95
Rating: none
Iuri Apollonio - 08/06/1998
Getting free resource under Windows 95


Cache', the world's fastest object database, does away with mapping. Free download.
Intel Go Parallel Portal: Translating Multicore Power into Application Performance
Whitepaper: Verio FreeBSD Managed Private Servers (MPS) v3
Whitepaper: Verio FreeBSD Virtual Private Server (VPS) v3
Developing Intelligent Communications? Visit the Avaya Developer Connection Center on DevX.

Solutions