Home >> Visual C++ / C++ >> COM-based Technologies
COM-based Technologies
next
Displaying the Input Language indicator in a WTL dialog
Rating: none
Anthony Berkow - 07/06/2009
How to display the Input Language indicator (as seen on the Language Bar) in a dialog (such as seen in the Windows Logon or Change Password dialogs).
[Updated] Use STA COM Objects Asynchronously
Rating: 




Wong Shao Voon - 03/17/2009
Learn how to use STA COM objects asynchronously without blocking your main thread.
A Multidevice ASIO Output Plugin for WinAMP
Rating: none
Domagoj Saric - 02/19/2009
Explore a C++ replacement of the official ASIO SDK that supports multiple ASIO devices put to the test in a tiny WinAMP output DLL.
Framework Source Code Stepping
Rating: none
Nick Wienholt - 09/08/2008
Despite the best documentation, stepping into the actual source code of third-party libraries can be the fastest way to diagnose a difficult bug or determine the state that a component needs to be in before a certain operation can be completed. With a little set-up magic, developers can step into libraries quickly and easily.
Professional System Library: Introduction
Rating: 




chilly32 - 08/22/2008
Discover a simplified and unified way to access most frequently used information about Process, System, and Environment.
[Updated] Customize an IE Context Menu to Add CodeGuru Favorites
Rating: 




kirants - 07/15/2008
Learn how to customize the internet explorer context menu to add Codeguru Favorites items.
Better Visual C++ Debugging
Rating: 




Nick Wienholt - 07/08/2008
Effective use of the Visual C++ debugger is one of the easiest ways to increase developer productivity. Program database (PDB) files are one of the key elements in effectively debugging an application, and it is easy to set up Visual Studio to use debug symbols for binary files produced by other developers, including those at Microsoft.
Visual C++ 2008 Feature Pack: MFC Enhancements
Rating: 




Nick Wienholt - 04/07/2008
Hot on the heels of the significant MFC updates that were delivered with the release of Visual Studio 2008, the Visual C++ 2008 Feature Pack significantly boosts the ability of MFC to deliver modern-looking user interfaces that will be familiar to Windows and Office users. Look at these new controls and see how MFC developers can significantly improve their application's look and feel.
A Complete Scriptable ActiveX Web Control Tutorial Using ATL
Rating: 




Arif Zaman - 01/02/2008
Learn to use a scriptable ActiveX web control that uses ATL.
Windows Mobile Development with MFC
Rating: none
Nick Wienholt - 12/10/2007
Drill deeper into Mobile Development in C++ and go through the development and debugging of a Windows Mobile 6 application with a focus on MFC.
Microsoft Word Automation Class
Rating: 




Val Golovlev - 12/06/2007
Discover a class to start Microsoft Word and access Word functions from a C++ application by using OLE and IDispatch interfaces. Two classes are provided: the Word automation class CWordAutomation and the wrapper class CEzWordAutomation.
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.
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: 




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: 




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.
next
