FIX: You receive a "System.OverFlowException" error message when you call a method of a Component Object Model (COM) DLL from a Visual C# .NET program or a Visual Basic .NET program (329658)
The information in this article applies to:
- Microsoft .NET Framework 1.0 SP2
- Microsoft .NET Framework 1.0 SP1
- Microsoft .NET Framework 1.0
This article was previously published under Q329658 SYMPTOMSYou may receive the following error message: An unhandled exception of type 'System.OverflowException'
occurred in client.exe Additional information:
Overflow This problem may occur when the following conditions are true: - You call a method that is defined in a Microsoft Component Object Model (COM) DLL from a Microsoft Visual C# .NET program or a Microsoft Visual Basic .NET program.
- In the application code, the method is located after the
System.Math.Asin function. The System.Math.Asin function returns Not a
Number (NaN).
CAUSEThis problem occurs because the new common language runtime and the Microsoft Visual Basic 6.0 DLL or Microsoft Visual C++ DLL handle the floating point variables inconsistently.STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Microsoft .NET
Framework 1.0 Service Pack 3.REFERENCES
For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
817248
How to call a Visual Basic .NET assembly from Visual Basic 6.0 and call a Visual Basic COM component from Visual Basic .NET
315847 How to use ActiveX components in Visual Studio .NET with Visual Basic .NET
Modification Type: | Major | Last Reviewed: | 8/31/2004 |
---|
Keywords: | kbCOMInterop kbClient kbfunctions kbConsole kbBug kbfix kbQFE kbNetFrame100preSP3fix kbprb KB329658 kbAudDeveloper |
---|
|