PRB: Intermittent Marshalling Issues on Windows 95 and Windows 98-Based Systems (313380)



The information in this article applies to:

  • Microsoft .NET Framework 1.1
  • Microsoft .NET Framework 1.0
  • Microsoft .NET Framework Class Libraries 1.1
  • Microsoft .NET Framework Class Libraries 1.0

This article was previously published under Q313380

SYMPTOMS

You may experience intermittent marshalling issues when you attempt to marshal variant types on a Microsoft Windows 95 or Microsoft Windows 98-based system.

CAUSE

This behavior can occur if you neglect to register the Rpcrt4.dll file. When you do not register this DLL, the Interop layer inside common language runtime does not properly marshal variant types.

Rpcrt4.dll is not registered by default on Windows 95 and Windows 98-based systems.

RESOLUTION

To resolve this issue, use Regsvr32.exe to register Rpcrt4.dll.

STATUS

This is not a bug in common language runtime, but it affects Interop functionality.

NOTE: Rpcrt4.dll is not part of common language runtime, although it is part of the common language runtime infrastructure.

Modification Type:MajorLast Reviewed:4/4/2003
Keywords:kbCOMInterop kbMarshal kbprb KB313380