FIX: ??? ???? ??????? ??? Windows ????????? ?????? ????? Winhttp.dll

?????? ????????? ?????? ?????????
???? ???????: 826216 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

???????

??? ?????? ??????? ???? ??? ?? ???? ?????? Microsoft SOAP 3.0 ?? ????? ???? ???? ???????.

?????? ???? ??? ?????? ??? ????? ???? ???????? ????? ?????? "SOAP" ????? ?? ??? ?????? Windows ????????? ???????? ????????? ???????? ???????:
objSoapClient.ConnectorProperty("WinHTTPAuthScheme") = 2
?????? "objSoapClient" ?? ??? ???? ?????? SOAP.

?????

?????? ?????? ?????? SOAP ???? Winhttp.dll. ?? ???? ??? ?????? Windows ????????? ???? ???? ??????? ?? ???? Winhttp.dll ?? ???? ?????? ??????? ?? ??? "???????".

????

????? ????? ???? ????? ?? Microsoft. ???? ????? ??? ?? ?? ??????? ??????? ?? ??? ???????. ????? ??? ??????? ?????? ??? ??? ??????? ???? ????? ??? ??????? ????????.

?? ???? ????? ??????? ?????? ???? ??? "???? ????? ??????? ????" ???? ????? ????? ??????? ??? ???. ??? ?? ???? ??? ?????? ????? ??? ??? Microsoft ???? ??????? ?????? ?????? ??? ??????? ??????.

?????? ???? ?????? ?????? ?? ?? ?? ???? ?????? ??? ??????? ??????? ???????? ?? ???? ????? ????? ??? ???? ?????. ???? ????? ?????? ????? ???????? ??? ????? ????? ???????? ????????? ???? ?? ???? ??? ???? ??? ??????? ?????? ????????. ?????? ????? ????? ?????? ????? Microsoft ???? ??????? ?????? ?????? ????? ?? ?????? ??? ???? ????? ?? ?????? ???? Microsoft ?????? ??? ?????:
http://support.microsoft.com/contactus/?ws=support
?????? ???? ????? "???? ????? ??????? ??????" ?????? ???? ????? ??????? ??????. ??? ?? ????? ????? ?????? ??? ???? ??? ???? ?? ????? ????? ???? ???? ?????.????? ????? ????? ?????????? ?? ??? ???? ????? (?? ??????) ???????? ?? ?????? ??????. ??? ??? ???????? ???????? ?????? ???? ??????? ???????? ??????? coordinated (UTC). ????? ???? ???? ??????? ?????? ??? ??????? ??? ??????? ??????. ?????? ????? ??? ??????? ??????? (UTC) ???????? ??????? ?????? ????? ??????? ??????? ??????? ?? ???? ??????? ?????? ?? "???? ??????".

????? ????? ?? Microsoft Windows 2000

 

    Date         Time   Version            Size    File name
   --------------------------------------------------------------
   27-Aug-2003  05:22  5.1.2600.1264     310,784  Winhttp.dll      
  
 
				

????? ??????? XP Microsoft Windows

 

      Date         Time   Version            Size    File name
   --------------------------------------------------------------
   21-Aug-2003  05:46  5.1.2600.1264     945,152  Winhttp.dll      
  
  
 
				

?????

???? Microsoft ?? ??? ??? ?? ?????? Microsoft ??????? ?? ????? ??? ???????.

??????? ????

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

  1. ??? ????? Microsoft Visual Studio .NET.
  2. ?? ??????? ???? ??? ??? ???? ?? ???? ??? ???????.
  3. ???? ??? ?????? Visual Basic ?? Visual C# ???????? ??? ????? Project ?? ???? ??? ???? ??? ASP.NET ??? ?????.
  4. ??? ??????? SampleWebService.
  5. ?? ??? Service1.asmx uncomment ????? ???? ??? HelloWorld.
  6. ?? ??????? ????? ? ???? ??? ???? ????.
  7. ???? ??? ???? ?? ???? ??? ?????.
  8. ????? inetmgr ?? ???? ??? ?? ???? ??? ?????.
  9. ?? ????? ??????? ?????? ?????? ? ?? ?????? ???? ??? ?????????.
  10. ???? ??? ?????? ?????? ??? SampleWebService ??? ?? ???? ??? ?????.
  11. ?? ???? ?????? ????? SampleWebService ???? ??? ????? ??????? ???? ??????.
  12. ??? ???? ?????? ??????? ????????? ????????? ? ???? ??? ?????.
  13. ?? ???? ?????? ?????? ????????? ???? ??? ???? ???????? ?????? Windows ???????.

    ?????? ???? ?? ??? ?? ??? ????? ????? ???? ????? ???????? ?????? ?? ???? ?????? ?????? ????????.
  14. ???? ??? ????? ????? ?????? ???? ?????? ????? SampleWebService.
  15. ????? ??????? ?????? ????? ??????.
  16. ??? ????? Microsoft Visual Basic 6.0.
  17. ????? ????? EXE ?????. ?????????? ??? ????? Form1.
  18. ????? ???? ???? CommandButton ????? ???? ProgressBar Form1. ??? ?? ????? ???? ??????? ?????? ProgressBar ? ???? ??????? ???????:
    1. ?? ??????? ??????? ???? ??? ????????.
    2. ???? ??? Windows ?????? ????? Microsoft 6.0.

      ?????? ??? ?? ????? ??????? ????? ?????? ???? ?????? ??????6.0 ????? ?????? ?????? ?? Microsoft Windows, ???? ??? ??????? ???? ??? MSCOMCTL.OCX ?? ???? ??? ???.
    3. ???? ??? ????? ?????? ???? ?????? ????????.
  19. ?? ????? ???? ??? ???? ?????? Command1 ?? ???? ???????? ???????? ???????:
    Dim objSoapClient As Object
    Dim wsdl As String
    Dim MySoapResponse As String
    Dim i As Long
    
    ' The wsdl variable contains the physical path of the wsdl in the client.
    wsdl = "C:\SoapClient\SoapTestSrv.wsdl"
    Set objSoapClient = CreateObject("Mssoap.SoapClient30")
    objSoapClient.MSSoapInit wsdl
    
    ' The value of AuthUser/AuthPassword must be incorrect for a memory leak to occur.
    objSoapClient.ConnectorProperty("AuthUser") = "TestUserid"
    objSoapClient.ConnectorProperty("AuthPassword") = "TestPassword"
    objSoapClient.ConnectorProperty("WinHTTPAuthScheme") = 2
    
    ' Replace ServerName with the name of the server where the Web service Service1.asmx is hosted.
    objSoapClient.ConnectorProperty("EndPointURL") = "http://ServerName/SampleWebService/Service1.asmx"
    
    For i = 1 To 500000
        On Error Resume Next
        On Error GoTo Error
        MySoapResponse = objSoapClient.HelloWorld
    
        'If you run this code, you will notice a memory leak.
        If (i Mod 500000) = 0 Then
            ProgressBar1.Value = ProgressBar1.Value + 1
        End If
    
    Error:
        MsgBox (Err.Description)
    Next
    
    Set objSoapClient = Nothing
  20. ?? ??????? "?????" ? ???? ??? ???. ??? ??? "Form1".
  21. ?? Form1 ???? ??? Command1.
?????? ???? ??? ?????? ?? ?? ????? ?????? ???? Winhttp.dll ? ?????? ?????? Windows ????????? ?????.

?????

????? ?? ????????? ??? ???????? ?? WinHTTP ?? ?????? ???? ???? ????? Microsoft (MSDN) ?????? ??? ?????:
http://msdn2.microsoft.com/en-us/library/aa383144.aspx
?????? ??? ??????? ??????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
305965HOW TO: ??????? ?????? ???? ??? XML ?? ???? ??????? ????? SOAP 2.0

???????

???? ???????: 826216 - ????? ??? ??????: 05/?? ??????/1428 - ??????: 1.7
????? ???
  • Microsoft SOAP Toolkit 3.0, ????? ?????? ??:
    • the operating system: Microsoft Windows XP
    • the operating system: Microsoft Windows 2000
????? ??????: 
kbmt kbautohotfix kbhotfixserver kbqfe kbqfe kbwebservices kbbug kbfix KB826216 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????826216

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

 

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