Crash with Citrix Apps

trx
2008-01-15
2013-01-20
  • trx
    trx
    2008-01-15

    First off, great program!

    Below is the error I get when trying to do a capture against a Citrix application.  I'm guessing Citrix does strange video rendering with their apps.  Happens on all types of captures.  I'm a web developer with Visual Studio so let me know if you need any help debugging.

    ************** Exception Text **************
    System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.
       at System.Drawing.Image.FromHbitmap(IntPtr hbitmap, IntPtr hpalette)
       at System.Drawing.Image.FromHbitmap(IntPtr hbitmap)
       at GreenShot.Helpers.WindowCapture.CaptureWindow(IntPtr handle, Rectangle rect)
       at GreenShot.Helpers.WindowCapture.CaptureWindow()
       at GreenShot.MainForm.initCapture(Boolean capturingWindows)
       at GreenShot.MainForm.CaptureAreaToolStripMenuItemClick(Object sender, EventArgs e)
       at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
       at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
       at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
       at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
       at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
       at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
       at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
       at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ToolStrip.WndProc(Message& m)
       at System.Windows.Forms.ToolStripDropDown.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)

     
    • Fls'Zen
      Fls'Zen
      2009-01-02

      I don't get any errors like this when capturing Citrix windwos in our environment. We're using ICA client 11.0.0.5357. How are you connecting & what version of the client are you using?