The Wayback Machine - https://web.archive.org/web/20071011105038/http://www.codeguru.com:80/cpp/com-tech/

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.

jobs.internet.com

internet.commerce
Partners & Affiliates
Giveaways
Promos and Premiums
Shop
Franchise Directory
Holiday Gift Ideas
Baby Photo Contest
Marketing Products
Mortgage Refinance
Domain registration
Internet Security
GPS
Online Meetings
Promotional Products
Laptop Battery


RSS Feeds

RSSAll

RSSVC++/C++

RSS.NET/C#

RSSVB

See more EarthWeb Network feeds

Home >> Visual C++ / C++ >> COM-based Technologies

  Navigating Your IT Career
A career in information technology usually has its share of ups and downs. Download this Internet.com eBook to learn where the jobs are in IT, how to negotiate a salary, and helpful advice on job security and how to deal with a layoff. »
 
  Inside Spyware: A Guide to Finding, Removing, and Preventing Online Pests
Your organization's computers are possibly being used to send spam, harvest e-mail addresses, make purchases on stolen credit cards or take part in denial of service attacks. Learn how to indentify, avoid, and remove malware from computers and keep your network and machines safe. »
 
  Tips for Selecting Software Vendors
IT managers need a proven, steadfast process for sifting through the hundreds of choices available for each enterprise software market segment. There are a series of steps for ensuring a result that will survive the intense, long-term scrutiny this level of investment will certainly attract. »
 
  Storage Basics: A Guide to the World of Storage Technology
Regardless of industry, size, or age, businesses are awash in more data than ever before. Federal regulations require that data be stored, protected, and retrievable for a certain amount of time. Storage is also a growing area in IT, which means employment opportunities exist now, and should exist for some time. »
 
  Building Your Own IP PBX
If you're already into having control of your computing infrastructure, taking charge of your telephone network is a natural progression. Asterisk is an open source PBX that runs on Linux. It can free your organization from expensive commercial PBXs, and gives you complete control over your telephone services »
 
COM-based Technologies

next

JavaScript DOM Ranges
Rating: none
Nicholas Zakas - 06/11/2007
Nicholas Zakas explores the powerful DOM Range tool and how a range can be used to select a section of a web document regardless of node boundaries.

[Updated] Customize an IE Context Menu to Add CodeGuru Favorites
Rating:
kirants - 05/21/2007
Learn how to customize the internet explorer context menu to add Codeguru Favorites items.

Visual FoxPro: Its Day Has Finally Come
Bradley L. Jones - 03/14/2007
If you thought the end of Visual FoxPro had already happened, then you are wrong. Its end is now.

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.

[Updated] A Big Integer Package for Use in Visual Basic Written in Visual C++
Rating:
Jeffrey Walton - 11/29/2006
A 'How To' for creating a COM Big Integer Library that uses Visual C++ ATL Wizard and Wei Dai's Crypto++ Library.

Windows Template Library: Still Alive and Kicking
Rating:
Nick Wienholt - 10/04/2006
Find out what's become of the Windows Template Library (WTL) since Microsoft released it as an open-source project in 2004. Examine the recent WTL releases and see where WTL fits in the C++ programmer's toolkit.

Easy Multithreading in ATL Windows Applications
Rating:
Konstantin --- - 08/25/2006
Add one header file to your *.vcproj, insert a few lines of code into your class header, and you'll never again worry about the asynchronous routines in your ATL GUI application.

[Updated] [Debugging] - Symbols
Rating:
Darka - 07/18/2006
Learn how to set up and use the Microsoft Symbol Server to help you debug applications under Windows.

Transparent Flash Control in Plain C++
Rating:
Igor Makarov - 07/11/2006
Learn about OLE container implementation to host a Transparent Flash Player Control using plain C++. No ATL, MFC, or other libraries are used.

Trace RPC Calls and Notify the COM+ Events to Your Program
Rating:
Pardeep Kadian - 05/05/2006
Learn about a simple way to understand and implement the COM+ Admin and Instrumentation interfaces.

Web Site Blocker that Uses Browser Helper Objects (BHO)
Rating:
milindsm - 03/28/2006
Learn how a BHO (Browser Helper Object) could be used to block a particular Web site.

A Kick-Start to SAX with C++, Part 3
Rating: none
Marius Bancila - 03/16/2006
Learn how to implement some basic error handling and perform cleanup operations.

A Kick-Start to SAX with C++, Part 2
Rating: none
Marius Bancila - 03/15/2006
Learn how to work around the restriction of using a single handler type at a time.

A Pure C++ Implementation of a COM Smart Pointer
Rating: none
Skeeter Xu - 03/01/2006
CComPtr wraps any interface pointer and will call AddRef() and Release() properly. You don't need to worry about controlling the lifetime of your interface pointer.

Enhance Your Dynamic Memory Allocation with an Undocumented MFC Class
Rating:
lano1106 - 02/14/2006
Learn to employ a small utility class that allows you to modify how objects for a given class are dynamically allocated.

Secure C++: Checked Iterators for Safer STL Coding
Rating: none
Nick Wienholt - 02/03/2006
The security issues with Standard C++ aren't as severe as those of C and the CRT, but a few exploits are possible if you misuse STL and iterators.

[Updated] Interprocess Communication Using the Running Object Table (ROT)
Rating:
Raghupathy Srinivasan - 12/19/2005
Discover a simple technique to share data across multiple processes running on the same machine using the Running Object Table.

Remote Desktop View Lite
Rating:
Andy Bantly - 10/31/2005
Learn about a native C++, MFC, ATL/COM system to remote view a desktop.

QPerformanceTimer
Rating:
Sjaak Priester - 08/16/2005
"Profile" a block of C++ code with just one include file and two variable definitions.

Owner-Draw Menus with .NET and Managed C++
Rating:
Tom Archer - MSFT - 05/02/2005
Learn how to use .NET and Managed C++ to program owner-draw menu items with the fonts and point sizes you want.

Application's Version Updating from a FTP Resource
Rating: none
Andrej Hristoliubov - 02/15/2005
Use the IOUpdate.dll library to automatically update your application from the Internet.

Managed C++: Determining User Security Roles
Rating:
Tom Archer - MSFT - 01/24/2005
For those who don't have the desire or time to become experts on Windows security, follow this demonstration of using various .NET classes to test for a user's inclusion in one or more security groups.

Using Two Common 'Compression' Techniques
Rating:
Andy Bantly - 01/04/2005
Here are two Microsoft (tm) Visual C++ projects. One project is an ATLCOM project with two objects: a Huffman compression object and a run length encoding object. One project is an MFC dialog that utilizes the library to perform file-based compression and decompression.

Extensible OLE Property Pages in .NET
Rating:
Robert Simpson - 11/03/2004
Implementing and utilizing extensible property sheets in your .NET classes has never been easier.

How to Implement a Mouse Hover/Leave Message on the System Tray
Rating: none
genie0610 - 09/09/2004
Ever wanted to get a mouse hover/leave message from the system tray? The Windows shell doesn't support that. This class is a solution that works.

Creating Resourceless Dialogs
Rating:
Trilobyte - 08/20/2004
Learn how to create resourceless dialogs using the Trilobyte-Solutions.nl Resourceless Dialog Toolkit.

Wrapping MFC Objects For Use With .NET Remoting
Rating:
Tom Archer - MSFT - 06/25/2004
One drawback to using remoting in a mixed—MFC/.NET—environment is that MFC objects cannot be remoted. Explore this technique for overcoming this limitation.

[Updated] Simple Shell Extension to Manipulate File Summary Information
Rating: none
Ejaz Anwer - 06/10/2004
A very basic shell extention to add and reterive the comments of the files.

Serial Communications with ActiveX
Rating:
mongi058 - 06/07/2004
Discover how to make serial communication (RS232) with MSComm.

C++ Tip: Serializing .NET Objects with Managed C++
Rating:
Tom Archer - MSFT - 05/07/2004
In this installment of the .NET Tips & Techniques column, learn how to serialize entire objects—as well as selected members—to and from disk using Managed C++ Extensions.

.NET Remoting with Events in Visual C++
Rating:
Kate Gregory - 04/13/2004
Learn how to add a button to a server application (a WinForm app with a big Listen button) and have the handler for the click event raise a custom event.

An Overview of Microsoft's Whitehorse
Rating:
Mickey Williams - 03/23/2004
Having enterprise development problems? Discover Whitehorse, a set of modeling tools included in the next release of Visual Studio .NET (code-named Whidbey).

Auditing Oracle Data
Rating: none
Michael Klaene - 03/04/2004
Learn how to create an audit trail for application data on an Oracle database (Oracle 8 and up). It includes two scripts that can be used to quickly get started.

Using a Hot Key in an ActiveX Control
Rating: none
Onega - 02/26/2004
Learn about a way to enable a hot key in an ActiveX control without a message hook.

Tabbed ActiveX Control
Rating:
Muhammad Ahmed - 01/28/2004
For beginners: Learn how to make a tabbed user interface using a simple MFC ActiveX control in VC++ .NET.

Tab Controls And Splitters—Mixing Them Together
Rating: none
Igor Katrayev - 01/08/2004
Create a WTL class using VC++ .NET 2003 that will simplify building SDI applications by allowing you to combine tab controls with splitters.

ATL Version of Analog Meter Class
Rating: none
Gerry Murphy - 11/21/2003
Use this ATL version of "Analog Meter Class."

COM Interface Hooking and Its Application, Chapter I
Rating:
Zhefu Zhang - 10/08/2003
Tutorial on designing and implementing a program interacting with MSN Messenger 6.0+.

Automating Microsoft Office Applications
Rating:
V Girish - 08/19/2003
This tutorial helps you learn the basics of automation. With this code, you can control PowerPoint from your application. You can open PowerPoint programmatically, open any presentation, go to any slide that you want, run the slideshow, and more. The same concept can be applied to any one of the Microsoft Office applications.

Implementing XMLHTTPRequest onReadyStateChange in C++
Rating: none
Dave Levinson - 08/04/2003
How to implement the IXMLHTTPRequest onreadstatechange property in C++. (Supports the asynchronous version of the send() operation of the XMLHTTPRequest object.) Developed in Visual C++ .NET, but usable elsewhere.

Creating a blobclass for ATL
Rating:
Frans Nagel - 07/18/2003
A class to make safearrays easy. The parray member of CComVariant is used to store binary data.

Adding Scripting Support to an Application
Rating:
Yuri Polyakov - 06/23/2003
Sometimes there isn't a need to implement full scripting support. Learn how to add this support the easy way using the Microsoft Script Control. (The article, project, and source code were updated.)

COM+ Automation Using COMAdminCatalog in .NET C#
Rating:
Asad Aziz - 06/20/2003
The COM+ catalog holds all COM+ configuration data. The only way you can access the catalog is through the Component Services administrative tool or through the COMAdmin library. Learn to administer this service easily.

Creating an Instance of a COM, a Bird's Eye View
Rating:
Alex C. Punnen - 06/16/2003
Create a COM CoCreate instance.

Registry Cleaner
Rating: none
Chakrapani Ramachandran - 06/10/2003
Clean the Registry for COM-based projects.

What is the Matrix? - Part 3, Streaming
Rating: none
Steve Dunn - 04/25/2003
How to use stream opeators to insert data into a Matrix array utility.

What Is the Matrix? -- Part 2
Rating: none
Steve Dunn - 04/17/2003
Expanding on his previous articles, Steve explains how to use the built-in conversions to and from VARIANTs in his Matrix class.

Writing MS WORD Addins
Rating:
Amit Dey - 04/10/2003
Learn how to write an add-in for Microsoft Word 2000 using this detailed tutorial.

What Is the Matrix?
Rating: none
Steve Dunn - 02/28/2003
Matrix is a templatized utility class available here on CodeGuru. This article digs into showing more regarding the use of this.

COM Interoperability
Rating:
Mark Strawmyer - 02/27/2003
Explore COM Interoperability, also known as COM Interop. COM Interop is the means to which COM objects can be used in a .NET application and how .NET objects can be built to appear to be COM objects.

next

Cache', the world's fastest object database, does away with mapping. Free download.
Fix bad addresses and phone numbers before they ruin your database. Download a free Data Quality Tools trial.
Whitepaper: Verio FreeBSD Managed Private Servers (MPS) v3
Developing Intelligent Communications? Visit the Avaya Developer Connection Center on DevX.
Whitepaper: Verio FreeBSD Virtual Private Server (VPS) v3

Solutions