Tom Archer explains how to work around the inherent problems associated with handling .NET events from a mixed mode (MFC/Managed Extensions) application.
Latest .NET Tips & Techniques Articles - Page 9
Managed Extensions: Using Delegates and Events
Tom Archer presents a step-by-step tutorial on understanding and using .NET delegates and events from the C++ Managed Extensions.
Managed Extensions Example That Calls the Amazon Web Service
Many talented C++ programmers still think that calling Web services from C++ is difficult. Tom Archer illustrates that using the .NET XmlTextReader and XmlDocument classes make this task a snap.
MFC and .NET: Why ShellExecute Isn't Dependable and How to Work Around It
Tom Archer explains the low-level details of why the ShellExecute function isn't dependable in a mixed-mode application. He then offers a couple of workarounds to this limitation.
Converting Between MFC/C++ and .NET Types
Converting between types is frequently a sticking point for coders new to mixing MFC and .NET. Tom Archer illustrates some basic conversions that will help you should you get stuck in a painful series of compiler error messages about type mismatches.
Specifying Managed Arrays as Function Parameters in C++
Tom Archer illustrates the basics of defining functions with Managed Extensions C++ that receive and return arrays. He also provides a helpful set of macros and typedefs that make this task much more intuitive and error-free.
Latest Developer Videos
More...Latest CodeGuru Developer Columns
MFC Integration with the Windows Transactional File System (TxF)
The Transactional File System (TxF), which allows access to an NTFS file system to be conducted in a transacted manner through extensions to the Windows SDK API. MFC 10, has been extended to support TxF and related technologies. This support allows existing MFC applications to be easily extended to support kernel transactions.
.NET Framework: Collections and Generics
The original release of the .NET Framework included collections as .NET was introduced to the Microsoft programming world. The .NET Framework 2.0 introduced generics to complement the System.Collections namespace and provide a more efficient and well performing option. Read on to learn more...

Disabling Titlebar Buttons with VB.NET
Hannes du Preez shows you how to disable titlebar buttons and menus in your programs temporarily.

WebSockets Meets Security
WebSockets are intended to build bi-directional connections between a web browser and a server. This must be done in a safe way. In addition, the WebSockets have a huge disadvantage (to say it politely). Read on to learn more.
