X10Dead / gwmultilaunch

Exported from code.google.com/p/gwmultilaunch
GNU General Public License v3.0
0 stars 0 forks source link

Windows 7 and possibly Vista AccessViolation Crash. #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Launching

What is the expected output? What do you see instead?
No launch.

Please use labels and text to provide additional information.

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected
memory. This is often an indication that other memory is corrupt.
   at Microsoft.Win32.Win32Native.CopyMemoryUni(StringBuilder pdst, IntPtr
psrc, IntPtr sizetcb)
   at System.Runtime.InteropServices.Marshal.PtrToStringUni(IntPtr ptr)
   at GWMultiLaunch.HandleManager.ConvertToString(IntPtr pStringBuffer)
   at GWMultiLaunch.HandleManager.GetHandleName(SYSTEM_HANDLE_INFORMATION
targetHandleInfo, Int32 hProcess)
   at GWMultiLaunch.HandleManager.KillHandle(Process targetProcess, String
nameFragment)
   at GWMultiLaunch.Form1.ClearMutex()
   at GWMultiLaunch.Form1.LaunchButton_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)

Original issue reported on code.google.com by keke...@gmail.com on 11 May 2009 at 10:07

GoogleCodeExporter commented 8 years ago
Used alt method to convert raw unmanaged data.

Original comment by keke...@gmail.com on 12 May 2009 at 6:14