[Bug 8533] Unhandled page fault on write access
http://bugs.winehq.org/show_bug.cgi?id=8533 ------- Additional Comments From vladimiroski(a)gmail.com 2007-31-05 08:41 ------- Damjan Jovanovic, strLocalHostInternal It's set here: '----------------------- 'This function binds a socket to a local port and IP. 'Retunrs TRUE if it has success. Private Function BindInternal(Optional ByVal varLocalPort As Variant, _ Optional ByVal varLocalIP As Variant) As Boolean '<EhHeader> On Error GoTo BindInternal_Err '</EhHeader> 100 If m_enmState = sckOpen Then 102 BindInternal = True Exit Function End If Dim lngLocalPortInternal As Long Dim strLocalHostInternal As String Dim strIP As String Dim lngAddressInternal As Long Dim lngResult As Long Dim lngErrorCode As Long 104 BindInternal = False 'Check if varLocalPort is a number between 0 and 65535 106 If Not IsMissing(varLocalPort) Then 108 If IsNumeric(varLocalPort) Then 110 If varLocalPort < 0 Or varLocalPort > 65535 Then 112 BindInternal = False 114 Err.Raise sckInvalidArg, "CSocketMaster.BindInternal", "The argument passed to a function was not in the correct format or in the specified range." Else 116 lngLocalPortInternal = CLng(varLocalPort) End If Else 118 BindInternal = False 120 Err.Raise sckUnsupported, "CSocketMaster.BindInternal", "Unsupported variant type." End If Else 122 lngLocalPortInternal = m_lngLocalPort End If 124 If Not IsMissing(varLocalIP) Then 126 If varLocalIP <> vbNullString Then 128 strLocalHostInternal = CStr(varLocalIP) Else 130 strLocalHostInternal = "" End If Else 132 strLocalHostInternal = "" End If 'get a 32 bits long IP 134 lngAddressInternal = ResolveIfHostnameSync(strLocalHostInternal, strIP, lngResult) ...etc... '----------------------------------------------------------- As one of my previous comment, this does not produce any error in Windows. I think I can help you with that test case by giving you the values of the variables and the results of the operations when running in windows... I just need to switch back to it. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
participants (1)
-
Wine Bugs