Article ID: 329658 - Last Review: December 30, 2006 - Revision: 1.3 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 programThis article was previously published under Q329658 On This PageSYMPTOMSYou may receive the following error message: An unhandled exception of type 'System.OverflowException' occurred
in client.exe Additional information: Overflow
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. RESOLUTIONTo resolve this problem, obtain the latest service pack for
Microsoft . NET Framework 1.0. To download the latest service pack, visit the
following Microsoft Developer Network (MSDN) Web site: http://www.microsoft.com/downloads/details.aspx?familyid=6978D761-4A92-4106-A9BC-83E78D4ABC5B&displaylang=en (http://www.microsoft.com/downloads/details.aspx?familyid=6978D761-4A92-4106-A9BC-83E78D4ABC5B&displaylang=en) 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. MORE INFORMATIONSteps to reproduce the behaviorCreate a COM DLL in Visual Basic 6.0
Create a client application
Build and then run the project
824684
(http://support.microsoft.com/kb/824684/
)
Description of the standard terminology that is used to describe Microsoft software updates
REFERENCES For additional
information, click the following article numbers to view the articles in the
Microsoft Knowledge Base: 817248
(http://support.microsoft.com/kb/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
(http://support.microsoft.com/kb/315847/
)
How to use ActiveX components in Visual Studio .NET with Visual Basic .NET
APPLIES TO
| Article Translations
|

Back to the top
