Quantcast
Channel: Questions in topic: "crash"
Viewing all articles
Browse latest Browse all 2383

Crash when use wndProc

$
0
0
output_log.txt: I:\WindowsApi\build\build.exe:build.exe (00060000), size: 659456 (result: 0), SymType: 'PDB', PDB: '.\WindowsPlayer_x86_Release.pdb', fileVersion: 2017.4.14.33104 C:\Windows\SYSTEM32\ntdll.dll:ntdll.dll (77BC0000), size: 1622016 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\ntdll.dll', fileVersion: 10.0.16299.492 C:\Windows\System32\KERNEL32.DLL:KERNEL32.DLL (746B0000), size: 851968 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\KERNEL32.DLL', fileVersion: 10.0.16299.431 C:\Windows\System32\KERNELBASE.dll:KERNELBASE.dll (769C0000), size: 1929216 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\KERNELBASE.dll', fileVersion: 10.0.16299.492 C:\Windows\System32\ADVAPI32.dll:ADVAPI32.dll (76710000), size: 491520 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\ADVAPI32.dll', fileVersion: 10.0.16299.371 C:\Windows\System32\msvcrt.dll:msvcrt.dll (76BF0000), size: 774144 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\msvcrt.dll', fileVersion: 7.0.16299.125 I:\WindowsApi\build\UnityPlayer.dll:UnityPlayer.dll (0FE10000), size: 27414528 (result: 0), SymType: 'PDB', PDB: '.\UnityPlayer_Win32_development_x86.pdb', fileVersion: 2017.4.14.33104 C:\Windows\System32\USER32.dll:USER32.dll (779F0000), size: 1527808 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\USER32.dll', fileVersion: 10.0.16299.125 C:\Windows\System32\sechost.dll:sechost.dll (768B0000), size: 274432 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\sechost.dll', fileVersion: 10.0.16299.15 C:\Windows\System32\win32u.dll:win32u.dll (74690000), size: 90112 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\win32u.dll', fileVersion: 10.0.16299.15 C:\Windows\System32\RPCRT4.dll:RPCRT4.dll (76900000), size: 778240 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\RPCRT4.dll', fileVersion: 10.0.16299.492 C:\Windows\System32\GDI32.dll:GDI32.dll (748D0000), size: 139264 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\GDI32.dll', fileVersion: 10.0.16299.15 C:\Windows\SYSTEM32\HID.DLL:HID.DLL (69DB0000), size: 40960 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\HID.DLL', fileVersion: 10.0.16299.15 C:\Windows\System32\SspiCli.dll:SspiCli.dll (745E0000), size: 131072 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\SspiCli.dll', fileVersion: 10.0.16299.98 C:\Windows\System32\gdi32full.dll:gdi32full.dll (77200000), size: 1437696 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\gdi32full.dll', fileVersion: 10.0.16299.492 C:\Windows\System32\CRYPTBASE.dll:CRYPTBASE.dll (745D0000), size: 40960 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\CRYPTBASE.dll', fileVersion: 10.0.16299.15 C:\Windows\System32\msvcp_win.dll:msvcp_win.dll (76820000), size: 507904 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\msvcp_win.dll', fileVersion: 10.0.16299.248 C:\Windows\System32\bcryptPrimitives.dll:bcryptPrimitives.dll (77150000), size: 356352 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\bcryptPrimitives.dll', fileVersion: 10.0.16299.98 C:\Windows\System32\ucrtbase.dll:ucrtbase.dll (77030000), size: 1142784 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\ucrtbase.dll', fileVersion: 10.0.16299.248 C:\Windows\System32\ole32.dll:ole32.dll (74780000), size: 1011712 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\ole32.dll', fileVersion: 10.0.16299.371 C:\Windows\System32\combase.dll:combase.dll (74C10000), size: 2383872 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\combase.dll', fileVersion: 10.0.16299.492 C:\Windows\SYSTEM32\VERSION.dll:VERSION.dll (74520000), size: 32768 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\VERSION.dll', fileVersion: 10.0.16299.15 C:\Windows\System32\SHLWAPI.dll:SHLWAPI.dll (77B70000), size: 282624 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\SHLWAPI.dll', fileVersion: 10.0.16299.402 C:\Windows\System32\PSAPI.DLL:PSAPI.DLL (77020000), size: 24576 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\PSAPI.DLL', fileVersion: 10.0.16299.15 C:\Windows\System32\SETUPAPI.dll:SETUPAPI.dll (74EE0000), size: 4349952 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\SETUPAPI.dll', fileVersion: 10.0.16299.248 C:\Windows\System32\cfgmgr32.dll:cfgmgr32.dll (76BB0000), size: 229376 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\cfgmgr32.dll', fileVersion: 10.0.16299.15 C:\Windows\System32\SHELL32.dll:SHELL32.dll (75340000), size: 20135936 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\SHELL32.dll', fileVersion: 10.0.16299.492 C:\Windows\System32\shcore.dll:shcore.dll (76790000), size: 557056 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\shcore.dll', fileVersion: 10.0.16299.15 C:\Windows\System32\windows.storage.dll:windows.storage.dll (77360000), size: 6053888 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\windows.storage.dll', fileVersion: 10.0.16299.492 C:\Windows\System32\kernel.appcore.dll:kernel.appcore.dll (768A0000), size: 57344 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\kernel.appcore.dll', fileVersion: 10.0.16299.492 C:\Windows\System32\powrprof.dll:powrprof.dll (771B0000), size: 282624 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\powrprof.dll', fileVersion: 10.0.16299.15 C:\Windows\System32\profapi.dll:profapi.dll (74900000), size: 81920 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\System32\profapi.dll', fileVersion: 10.0.16299.15 C:\Windows\System32\WS2_32.dll:WS2_32.dll (74E70000), size: 417792 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\WS2_32.dll', fileVersion: 10.0.16299.15 C:\Windows\SYSTEM32\OPENGL32.dll:OPENGL32.dll (6CEE0000), size: 913408 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\OPENGL32.dll', fileVersion: 10.0.16299.15 C:\Windows\SYSTEM32\WINMM.dll:WINMM.dll (72070000), size: 147456 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\WINMM.dll', fileVersion: 10.0.16299.15 C:\Windows\System32\OLEAUT32.dll:OLEAUT32.dll (74A90000), size: 602112 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\OLEAUT32.dll', fileVersion: 10.0.16299.431 C:\Windows\System32\IMM32.dll:IMM32.dll (75310000), size: 151552 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\IMM32.dll', fileVersion: 10.0.16299.15 C:\Windows\SYSTEM32\WINMMBASE.dll:WINMMBASE.dll (71270000), size: 143360 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\WINMMBASE.dll', fileVersion: 10.0.16299.15 C:\Windows\SYSTEM32\GLU32.dll:GLU32.dll (6CDC0000), size: 151552 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\GLU32.dll', fileVersion: 10.0.16299.15 C:\Windows\SYSTEM32\IPHLPAPI.DLL:IPHLPAPI.DLL (740A0000), size: 196608 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\IPHLPAPI.DLL', fileVersion: 10.0.16299.15 C:\Windows\SYSTEM32\WINHTTP.dll:WINHTTP.dll (73BA0000), size: 708608 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\WINHTTP.dll', fileVersion: 10.0.16299.371 C:\Windows\SYSTEM32\DNSAPI.dll:DNSAPI.dll (738D0000), size: 606208 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\DNSAPI.dll', fileVersion: 10.0.16299.334 C:\Windows\System32\NSI.dll:NSI.dll (74E60000), size: 28672 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\NSI.dll', fileVersion: 10.0.16299.15 C:\Windows\system32\uxtheme.dll:uxtheme.dll (72670000), size: 495616 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\uxtheme.dll', fileVersion: 10.0.16299.15 I:\WindowsApi\build\build_Data\Mono\EmbedRuntime\mono.dll:mono.dll (089D0000), size: 2293760 (result: 0), SymType: '-exported-', PDB: 'I:\WindowsApi\build\build_Data\Mono\EmbedRuntime\mono.dll', fileVersion: 1.0.0.1 C:\Windows\SYSTEM32\MSWSOCK.dll:MSWSOCK.dll (74040000), size: 348160 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\MSWSOCK.dll', fileVersion: 10.0.16299.15 C:\Windows\SYSTEM32\dhcpcsvc6.DLL:dhcpcsvc6.DLL (72CD0000), size: 77824 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\dhcpcsvc6.DLL', fileVersion: 10.0.16299.15 C:\Windows\SYSTEM32\dhcpcsvc.DLL:dhcpcsvc.DLL (73B60000), size: 81920 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\dhcpcsvc.DLL', fileVersion: 10.0.16299.15 C:\Windows\system32\napinsp.dll:napinsp.dll (72E70000), size: 69632 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\napinsp.dll', fileVersion: 10.0.16299.15 C:\Windows\system32\pnrpnsp.dll:pnrpnsp.dll (72E50000), size: 90112 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\pnrpnsp.dll', fileVersion: 10.0.16299.15 C:\Windows\system32\NLAapi.dll:NLAapi.dll (72E30000), size: 77824 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\NLAapi.dll', fileVersion: 10.0.16299.248 C:\Windows\System32\winrnr.dll:winrnr.dll (72E20000), size: 49152 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\winrnr.dll', fileVersion: 10.0.16299.15 C:\Windows\System32\MSCTF.dll:MSCTF.dll (76D30000), size: 1327104 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\MSCTF.dll', fileVersion: 10.0.16299.402 C:\Windows\system32\dwmapi.dll:dwmapi.dll (72580000), size: 143360 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\dwmapi.dll', fileVersion: 10.0.16299.15 C:\Windows\SYSTEM32\d3d11.dll:d3d11.dll (6D240000), size: 2351104 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\d3d11.dll', fileVersion: 10.0.16299.492 C:\Windows\SYSTEM32\dxgi.dll:dxgi.dll (6D1A0000), size: 602112 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\dxgi.dll', fileVersion: 10.0.16299.98 C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_f32bf428bbff8aa5\nvldumd.dll:nvldumd.dll (61040000), size: 806912 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_f32bf428bbff8aa5\nvldumd.dll', fileVersion: 24.21.13.9793 C:\Windows\System32\crypt32.dll:crypt32.dll (76E80000), size: 1581056 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\crypt32.dll', fileVersion: 10.0.16299.402 C:\Windows\System32\MSASN1.dll:MSASN1.dll (76BA0000), size: 57344 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\MSASN1.dll', fileVersion: 10.0.16299.15 C:\Windows\System32\WINTRUST.DLL:WINTRUST.DLL (74880000), size: 286720 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\WINTRUST.DLL', fileVersion: 10.0.16299.431 C:\Windows\System32\imagehlp.dll:imagehlp.dll (76D10000), size: 102400 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\imagehlp.dll', fileVersion: 10.0.16299.15 C:\Windows\SYSTEM32\CRYPTSP.dll:CRYPTSP.dll (73090000), size: 77824 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\CRYPTSP.dll', fileVersion: 10.0.16299.15 C:\Windows\system32\rsaenh.dll:rsaenh.dll (73060000), size: 192512 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\rsaenh.dll', fileVersion: 10.0.16299.15 C:\Windows\SYSTEM32\bcrypt.dll:bcrypt.dll (73860000), size: 102400 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\bcrypt.dll', fileVersion: 10.0.16299.492 C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_f32bf428bbff8aa5\nvwgf2um.dll:nvwgf2um.dll (5F490000), size: 28975104 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_f32bf428bbff8aa5\nvwgf2um.dll', fileVersion: 24.21.13.9793 C:\Windows\System32\clbcatq.dll:clbcatq.dll (74600000), size: 532480 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\clbcatq.dll', fileVersion: 2001.12.10941.16384 C:\Windows\system32\wbem\wbemprox.dll:wbemprox.dll (0F850000), size: 53248 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\wbem\wbemprox.dll', fileVersion: 10.0.16299.15 C:\Windows\SYSTEM32\wbemcomn.dll:wbemcomn.dll (0F860000), size: 425984 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\wbemcomn.dll', fileVersion: 10.0.16299.15 D:\Program Files\Dict\7.5.2.0\WordStrokeHelper32.dll:WordStrokeHelper32.dll (0FB60000), size: 126976 (result: 0), SymType: '-exported-', PDB: 'D:\Program Files\Dict\7.5.2.0\WordStrokeHelper32.dll' C:\Windows\system32\wbem\wbemsvc.dll:wbemsvc.dll (0FB50000), size: 65536 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\wbem\wbemsvc.dll', fileVersion: 10.0.16299.15 C:\Windows\system32\wbem\fastprox.dll:fastprox.dll (0FB90000), size: 786432 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\wbem\fastprox.dll', fileVersion: 10.0.16299.15 C:\Windows\System32\MMDevApi.dll:MMDevApi.dll (706B0000), size: 372736 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\MMDevApi.dll', fileVersion: 10.0.16299.15 C:\Windows\System32\DEVOBJ.dll:DEVOBJ.dll (70670000), size: 139264 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\DEVOBJ.dll', fileVersion: 10.0.16299.15 C:\Windows\System32\PROPSYS.dll:PROPSYS.dll (72A20000), size: 1552384 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\PROPSYS.dll', fileVersion: 7.0.16299.334 C:\Windows\SYSTEM32\wdmaud.drv:wdmaud.drv (5E740000), size: 237568 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\wdmaud.drv', fileVersion: 10.0.16299.15 C:\Windows\SYSTEM32\AVRT.dll:AVRT.dll (706A0000), size: 32768 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\AVRT.dll', fileVersion: 10.0.16299.15 C:\Windows\SYSTEM32\ksuser.dll:ksuser.dll (5E710000), size: 28672 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\ksuser.dll', fileVersion: 10.0.16299.15 C:\Windows\SYSTEM32\AUDIOSES.DLL:AUDIOSES.DLL (70710000), size: 999424 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\AUDIOSES.DLL', fileVersion: 10.0.16299.248 C:\Windows\SYSTEM32\wintypes.dll:wintypes.dll (72800000), size: 831488 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\wintypes.dll', fileVersion: 10.0.16299.402 C:\Windows\SYSTEM32\msacm32.drv:msacm32.drv (5E700000), size: 40960 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\msacm32.drv', fileVersion: 10.0.16299.15 C:\Windows\SYSTEM32\MSACM32.dll:MSACM32.dll (70600000), size: 102400 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\MSACM32.dll', fileVersion: 10.0.16299.15 C:\Windows\SYSTEM32\midimap.dll:midimap.dll (5E6F0000), size: 32768 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\midimap.dll', fileVersion: 10.0.16299.15 C:\Windows\SYSTEM32\TextInputFramework.dll:TextInputFramework.dll (72960000), size: 487424 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\TextInputFramework.dll', fileVersion: 10.0.16299.15 C:\Windows\SYSTEM32\CoreUIComponents.dll:CoreUIComponents.dll (71B20000), size: 2310144 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\CoreUIComponents.dll', fileVersion: 10.0.16299.15 C:\Windows\SYSTEM32\CoreMessaging.dll:CoreMessaging.dll (728D0000), size: 573440 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\CoreMessaging.dll', fileVersion: 10.0.16299.371 C:\Windows\SYSTEM32\ntmarta.dll:ntmarta.dll (739A0000), size: 163840 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\ntmarta.dll', fileVersion: 10.0.16299.15 C:\Windows\System32\sogoutsf.ime:sogoutsf.ime (715A0000), size: 1499136 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\sogoutsf.ime', fileVersion: 9.1.0.2589 C:\Windows\System32\MSIMG32.dll:MSIMG32.dll (742F0000), size: 24576 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\MSIMG32.dll', fileVersion: 10.0.16299.15 C:\Windows\system32\SogouPy.ime:SogouPy.ime (16080000), size: 6270976 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\SogouPy.ime', fileVersion: 9.1.0.2589 C:\Windows\SYSTEM32\OLEACC.dll:OLEACC.dll (71F90000), size: 352256 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\OLEACC.dll', fileVersion: 7.2.16299.15 d:\Program Files (x86)\SogouInput\Components\PicFace\1.1.0.1835\PicFace.dll:PicFace.dll (71D60000), size: 1810432 (result: 0), SymType: '-exported-', PDB: 'd:\Program Files (x86)\SogouInput\Components\PicFace\1.1.0.1835\PicFace.dll', fileVersion: 1.1.0.1835 C:\Windows\System32\COMDLG32.dll:COMDLG32.dll (74B30000), size: 868352 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\COMDLG32.dll', fileVersion: 10.0.16299.402 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.16299.492_none_5d760a37a7e0e2b6\COMCTL32.dll:COMCTL32.dll (74300000), size: 2166784 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.16299.492_none_5d760a37a7e0e2b6\COMCTL32.dll', fileVersion: 6.10.16299.492 d:\Program Files (x86)\SogouInput\9.1.0.2589\Resource.dll:Resource.dll (178D0000), size: 1171456 (result: 0), SymType: '-nosymbols-', PDB: 'd:\Program Files (x86)\SogouInput\9.1.0.2589\Resource.dll', fileVersion: 9.1.0.2589 C:\Windows\System32\rasadhlp.dll:rasadhlp.dll (73850000), size: 32768 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\rasadhlp.dll', fileVersion: 10.0.16299.15 C:\Windows\System32\fwpuclnt.dll:fwpuclnt.dll (73880000), size: 319488 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\fwpuclnt.dll', fileVersion: 10.0.16299.15 C:\Windows\SYSTEM32\dbghelp.dll:dbghelp.dll (739D0000), size: 1576960 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\dbghelp.dll', fileVersion: 10.0.16299.15 ---------------------------------- open crash.dmp with vs2017 but note "The current stack frame was not found in a loaded module. Source cannot be shown for this location." ---------------------------------- The code is as follows: public static IntPtr GetProcessWnd() { if (MainWnd != IntPtr.Zero) return MainWnd; IntPtr ptrWnd = IntPtr.Zero; uint pid = (uint)Process.GetCurrentProcess().Id; bool bResult = EnumWindows(new WNDENUMPROC(delegate (IntPtr hwnd, uint lParam) { uint id = 0; if (GetParent(hwnd) == IntPtr.Zero) { GetWindowThreadProcessId(hwnd, ref id); if (id == lParam) { ptrWnd = hwnd; SetLastError(0); return false; } } return true; }), pid); MainWnd = (!bResult && Marshal.GetLastWin32Error() == 0) ? ptrWnd : IntPtr.Zero; return MainWnd; } public void StartUp() { hMainWindow = GetProcessWnd(); DisableMaxWnd(); newWndProc = new WndProcDelegate(wndProc); SetWindowProc(hMainWindow, newWndProc); RECT rt; if (!GetWindowRect(GetProcessWnd(), out rt)) { return; } LastW = rt.Right - rt.Left; LastH = rt.Bottom - rt.Top; SetResolution(LastW, LastH); } IntPtr wndProc(IntPtr hWnd, uint msg, IntPtr wParam, IntPtr lParam) { if (msg == (int)(WindowsMessage.WM_SIZE)) { OnResize((int)lParam & 0xffff, ((int)lParam >> 16) & 0xffff); } else if (msg == (int)WindowsMessage.WM_EXITSIZEMOVE) { OnResized(); } else if (msg == (int)WindowsMessage.WM_SIZING) { OnResizing(); } else if (msg == (int)WindowsMessage.WM_SYSCOMMAND) { if (wParam.ToInt32() == (int)SysCommands.SC_MAXIMIZE) { } } return CallWindowProc(oldWndProcPtr, hWnd, msg, wParam, lParam); } public void OnDestory() { if (oldWndProcPtr != IntPtr.Zero) SetWindowLongPtr(GetProcessWnd(), -4, oldWndProcPtr); newWndProc = null; oldWndProc = null; newWndProcPtr = IntPtr.Zero; oldWndProcPtr = IntPtr.Zero; MainWnd = IntPtr.Zero; }

Viewing all articles
Browse latest Browse all 2383

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>