FIX: ????? ???? "System.OverFlowException" ????? ??? ??? ??????? ????? ?? ???? ???? ?????? (COM) DLL ?? ?????? Visual C# .NET ?? ?????? Visual Basic .NET

?????? ????????? ?????? ?????????
???? ???????: 329658 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

???????

?? ????? ????? ????? ???????:
??? ??????? ??? ????? ?? ????? 'System.OverflowException' ?? client.exe
??????? ??????: ?????
?? ???? ??? ??????? ??? ?????? ???????:
  • ??????? ????? ???? ?? ????? ?? Microsoft ???? ???? ?????? (COM) DLL ?? ?????? Microsoft Visual C# .NET ?? ?????? Microsoft Visual Basic .NET.
  • ??? ????? ??????? ???? ???? ???? ??? ?????? System.Math.Asin. ???? ?????? System.Math.Asin??? ??? (NaN).

?????

???? ??? ??????? ????? ??? ??? ????? ????? ?????? ??????? ? ???? Microsoft Visual Basic 6.0 DLL ?? Microsoft Visual C++ DLL ???? ??? ??????? inconsistently.

????

??? ??? ???????? ??? ?????? ??? ???? ???? ???? ?? Microsoft. NET Framework 1.0. ?????? ???? ???? ???? ?? ?????? ???? ???? ????? Microsoft (MSDN) ?????? ??? ?????:
http://www.microsoft.com/downloads/details.aspx?familyid=6978D761-4A92-4106-A9BC-83E78D4ABC5B&displaylang=en

?????

???? Microsoft ?? ??? ????? ?? ?????? Microsoft ??????? ?? ??? "????? ???". ?? ????? ??? ??????? ???? ??? ?? Microsoft .NET Framework 1.0 Service Pack 3.

??????? ????

????? ????? ????? ??????

????? DLL COM ?? Visual Basic 6.0

  1. ??? ????? Visual Basic 6.0.
  2. ?? ???? ?????? ????? ???? ??? ????? ??????? "????" ? ???? ??? DLL ActiveX ?? ???? ??? ???. ?????????? ???? ??? ?????? ????? ????? ????? Class1.
  3. ?? ?????? ????????? ???????? ??????? ??? ??? ?????? ??????? Class1 ?????:
    Option Explicit
    Public Function Avg() As Double
    Avg = 0/1
    End Function
  4. ?? ??????? ???? ???? ??? ??? Project1.dll. ???? ???? ?????? ????? ???????.
  5. ??? ???? ???? ???? Project1.dll ????? ?? ???? ??? ????? ???? ?????.

????? ????? ????

  1. ??? ????? Visual Studio .NET.
  2. ?? ??????? ???? ??? ??? ???? ?? ???? ??? ???????. ???? ???? ?????? ????? ????.
  3. ???? ??? Visual C# ?????? ??? ????? Project ?? ???? ??? ????? ???? ?????? ??? ?????.
  4. ?? ?????? ?????? ???? ???? ??? ?? ???? ??? ?????. ?????????? ??? ????? ??? ???? Class1.cs.
  5. ??????? ????????? ???????? ???????? ?? ????????? ???????? ???????:
    using System;
    using Project1;
    using System.Diagnostics;
    
    namespace Client
    {	
    	class Class1
    	{		
    		[STAThread]
    		static void Main(string[] args)
    		{
    			
    			Class1Class T = new Class1Class();
    			Console.WriteLine(T.Avg()) ;
    
    			double D = Math.Asin(2); 
    			Console.WriteLine(T.Avg());    			
    		}		
    	}
    }
  6. ?? ??????? ??????? ???? ??? ????? ????. ???? ???? ?????? ????? ??????.
  7. ???? ??? ???????. ???? ???? ?????? ????? ????????.
  8. ??? ???? ????? Project1.dll ???? ??? ??????? ?? ??? "????? DLL COM" ? ???? ??? Project1.dll ?? ???? ??? ???.
  9. ?? ???? ?????? ????? ??????? ???? ??? ????? ?????? DLL ??? ??????? ??????.

?????? ??????? ???????

  1. ?? ??????? ????? ? ???? ??? ???? ????.
  2. ???? CTRL + F5 ?????? ??????? ???? ???? ?????. ???? ???? ?????? ??????? Just-In-Time.
  3. ???? ??? ???. ???? ???? ?????? ????? ??? ??????.
  4. ???? ??? ?????.

    ?? ????? ?????? ??????? ?? ??? "???????".
?????? ??? ??????? ??????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
824684??? ????????? ???????? ????????? ?? ??? ??????? ????? Microsoft

?????

?????? ??? ??????? ??????? ???? ??? ????? ???????? ??????? ?????? ?? "????? ??????? ?? Microsoft:
817248????? ??????? ????? Visual Basic .NET ?? Visual Basic 6.0 ??????? ???? COM Visual Basic ?? Visual Basic .NET
315847????? ??????? ?????? ActiveX ?? Visual Studio .NET ?? Visual Basic .NET

???????

???? ???????: 329658 - ????? ??? ??????: 09/?? ?????/1427 - ??????: 1.3
????? ???
  • Microsoft .NET Framework 1.0 Service Pack 2
  • Microsoft .NET Framework 1.0 Service Pack 1
  • Microsoft .NET Framework 1.0
????? ??????: 
kbmt kbcominterop kbclient kbfunctions kbconsole kbbug kbfix kbqfe kbnetframe100presp3fix kbprb KB329658 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????329658
????? ??????? ?? ????? ???? ?? ????? ???????
?? ????? ????? ?????? ???? ???? ???? ??? ??????? ??? ?? ? ?? ??? ??????? Microsoft ??? ????? ??? ??????? ????? ?????? ?????

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com