N/Direct - The .NET Interoperability Resource Center 

Updates

 

 

 

Most Valuable Professional

August 2004


There is now an RSS feed for updates to this site.

r4 r4 card r4 ds card links of london sweetie bracelet thomas sabo online shop r4i card
The following KB articles have been added:
308095 - PRB: Creating STA Components in the Constructor in ASP.NET ASPCOMPAT Mode Negatively Affects Performance
309327 - PRB: Premature Garbage Collection of Object Reference
324547 - FIX: Windows Control That Is Hosted in Microsoft Internet Explorer Leaks Unmanaged Resources
325791 - PRB: "Access Denied" Error Message Occurs When You Impersonate an Account in ASP.NET and Then Call STA COM Components
326217 - INFO: WebOCHostCSharp.exe Hosts the WebBrowser Control in C# .NET
328557 - FIX: You receive a "NullReferenceException" error message when you try to pass a .NET Framework class to a COM wrapper class
810098 - BUG: Object Reference is Not Set to an Instance of an Object
810245 - FIX: Invalid Object in ASP Session State
813105 - FIX: .NET Framework Implementation of IEnumConnections::Next Causes the Client Application to Stop Responding
813588 - Access Violation May Occur in COM Modules When Managed Process Exits
817005 - FIX: Severe Performance Issues When You Bind Session State to Threads in ASPCompat Mode
818612 - FIX: "COM Object Can Not Be Used" Error Message When You Use an STA COM Object That You Created by Using Server.CreateObject and Stored in Session Scope in a Different Web Page
818982 - FIX: "COMException - Type Mismatch" Error Message When You Pass a VARIANT Parameter from Managed Code
823986 - PRB: Primary Interop Assembly (PIA) Install Occurs the First Time That You Open a Microsoft Office Document That Is Referenced by a Managed Code Extension
826915 - FIX: Marshal.ReleaseComObject Does Not Correctly Release Objects That Implement the IDisposable Interface
827163 - FIX: References to STA Objects That Are Stored in Session State May Become Corrupted If They Are Called from a Session_End Event
827164 - FIX: References to STA Objects That Are Stored in Session State May Become Corrupted If They Are Called from a Session_End Event
827418 - BUG: A Visual Basic Application Stops Responding While It Disconnects from the Managed Event Source
828943 - FIX: COM Interop Call May Return Incorrect HRESULT
834855 - A licensed Windows Forms user control does not appear in the browser if you connect to the Web site by using Windows NT authentication
835847 - FIX: Your Windows Forms user control does not print and does not appear in Print Preview in Internet Explorer

The following articles have been added:
Beyond (COM) Add Reference: Has Anyone Seen the Bridge?
Creating a P/Invoke Library
Create Namespace Extensions for Windows Explorer with the .NET Framework
Using the .NET Framework SDK Interoperability Tools

The following samples have been added:
Interop Declarations for Windows.h
Shell Extensions with .NET
Transitioning AppDomains from native code using delegates

The following links have been added:
MSDN Online Chats: C++ Native/Managed Interop and Migration
MSDN Online Chats: Visual Studio Tools for Office
Pinvoke.net
Platform Invoke Cheat Sheet

 

November 2003


The article What¡¯s new for Interop in .NET Framework v2.0? was added.

The following FAQ entries have been updated:
My classes exported to COM don't contain any methods, even if they are marked with ComVisible(true). What's wrong? (thanks Slava!)

The following KB articles have been added:
327106 - BUG: Some Marshal Class APIs Throw System.ExecutionEngineException If You Pass a Pointer, ByRef, or Array Type

The following books and articles have been added:
COM Programming with Microsoft .NET
.NET Framework Solutions: In Search of the Lost Win32 API
An Overview of Managed/Unmanaged Code Interoperability
Calling Win32 DLLs in C# with P/Invoke

The following links have been added:
MSDN - Interoperability

 

June 2003


The article What¡¯s new for Interop in .NET Framework v1.1? was updated to cover some missing pieces.

The following FAQ entries have been updated:
My classes exported to COM don't contain any methods, even if they are marked with ComVisible(true). What's wrong?

The following KB articles have been added:
311259 - HOW TO: Convert from System::String* to Char* in Visual C++ .NET
311299 - PRB: Cannot Retrieve Top-Level IWebBrowser2 Interface from a .NET UserControl
327107 - FIX: OutOfMemoryException Occurs When You Access Non-Fixed Size Safe Arrays in a User-Defined Type
327128 - BUG: TlbImp Silently Produces an Unloadable Assembly Without Warning
811004 - HOW TO: Implement a Managed Component that Wraps the Browse For Folder Common Dialog Box by Using Microsoft Visual Basic .NET
811658 - HOW TO: Use the Microsoft Visual Studio .NET Native Debugger to Debug a Microsoft Visual Basic 6.0 DLL When It Is Called from an ASP.NET Application
813809 - PRB: IntelliSense Features Do Not Appear in Visual Basic 6.0 for .NET COM Interop Components
814361 - PRB: Microsoft Visual Basic .NET Does Not Support Adding ActiveX Controls and Licenses at Run Time
817248 - HOW TO: Call Visual Basic .NET Assembly from Visual Basic 6.0 and Call Visual Basic COM Component from Visual Basic .NET
818216 - BUG: "Public Overrides WriteOnly Property..." Error When You Try to Override a Microsoft Visual Basic 6.0 Property in Microsoft Visual Basic .NET
818220 - PRB: The ActiveX User Control Is Not Visible in the Form Designer When You Reopen an Existing Project
820126 - BUG: New Interop DLL Is Not Put in the Correct Location for the Project When a COM Component Is Added

The following articles have been added:
Using Existing Code in C#
Explorer column handler shell extension in C#
Extending Explorer with Band Objects using .NET and Windows Forms
Automating Word and Excel with C#
Visual Studio Tools for Office
Programming Office Applications Using Visual C#
Understanding the Word Object Model from a .NET Developers Perspective
Understanding the Excel Object Model from a .NET Developers Perspective
Marshalling Types During Platform Invoke (P/Invoke) on the Microsoft .NET Compact Framework
Writing Unmanaged Functions for Microsoft .NET Compact Framework-based Applications

The following samples have been added:
Easy Windows shell namespace extensions in C# and VB.NET
OpenNETCF.org WinAPI Library Open-Source Project
Explorer column handler shell extension in C#
Extending Explorer with Band Objects using .NET and Windows Forms
HOW TO: Implement a Managed Component that Wraps the Browse For Folder Common Dialog Box by Using Microsoft Visual Basic .NET (811004)

The following links have been added:
Adam Nathan's Interop-Centric CLR Blog
Sam Gentile's Blog
MSDN TV: Platform Invoke Tips & Tricks: Memory Ownership and Levels of Indirection
MSDN TV: Activating Managed Classes From COM