The Wayback Machine - https://web.archive.org/web/20061017130129/http://www.codeguru.com/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
Domain registration
Cheap Plane Tickets
Web Hosting Providers
Promote Your Website
IT Jobs
Business Web Hosting
GPS
Cheap Cameras
Computer Memory
Promotional Gifts
KVM Switches
Batteries
Franchise Directory
Mortgage Refinance



RSS Feeds

All

VC++/C++

.NET/C#

VB

See more EarthWeb Network feeds

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

Embracing the full spectrum of developer needs including content supporting 64 bit, Multi-Core, Tools, and Optimization.

Making Multi-Cores Count: An ISV Licensing Primer
On the road to concurrent programming, do customers see you as the fast laneor the speed bump? The best way for ISVs to support emerging x86-based virtualization and grid computing technologies is by moving away from antiquated hardware-based license models. Read more.
Mr. Multimedia: AMD's Wei-Lien Hsu
See how AMD's various architecture designs provide processor performance across the computing board, including formerly niche areas such as multimedia, and how passionate engineers like Wei-Lien Hsu are making it happen. Read more.
Man on a Mission: AMD's Brent Hollingsworth
AMD is working on a library of thousands of functions that will make the parallel technologies embedded in AMD's multi-core processors and other multiprocessor technologies available to developers. See what the project's team leader has to say about the challenges and benefits of the AMD Performance Library (APL). Read more.
Taking Advantage of Concurrent Programming for Windows, Part 2: Multi-Core Programming in .NET
In the coming many-core era, the performance difference between single-threaded and multithreaded applications will grow greater and greater. It behooves all professional programmers to begin coding for multiple cores now. Read more.
For more relevant code samples, tutorials and editorials click here.

COM-based Technologies

next

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.

[Updated] Customize an IE Context Menu to Add CodeGuru Favorites
Rating:
kirants - 09/12/2006
Discover the development of a Browser Helper Object to customize Internet Explorer context menu to add CodeGuru Favorites items.

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.

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

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: none
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.

A Simple Example To Explain COM STA, MTA, and Auto-threaded Modules
Rating:
Zhifang Zhao - 02/04/2003
Check out this illustration of the functions of COM Single Thread Apartment (STA), Multithread Apartment (MTA), and ATL Auto-thread Module with a testing client-server application.

Implementing a DropTarget in ATL
Rating: none
Frans Nagel - 01/31/2003
Making a control a drop-target in ATL is not something you do very easily. (A demo project has been provided.)

Taking the Complexity Out of Creating COM Arrays'—The Matrix Class Utility
Rating: none
Steve Dunn - 01/29/2003
Arrays can be tedious, especially when passing them across COM/DCOM. This utility class aids the creation of arrays, including safe arrays and variants.

next

Download: IBM Rational Functional Tester. Get automated functional & regression testing for apps.
RAVEN Extends Visual Studio for Requirements Development
Flash Demo: Crystal Reports HTML Preview--Let�s you see how reports will look on the web.
Generate Complete .NET Web Apps in Minutes . Download Iron Speed Designer today.
On-demand Webcast: Developing Robust Field Service Wireless Solutions on BlackBerry Devices.


JupiterWeb networks:

internet.comearthweb.comDevx.comGraphics.com

Search JupiterWeb:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterWeb

Jupitermedia Corporate Info