Welcome to the Xceed Community | Help
Community Search  
More Search Options

Xceed SmartUI 64 bit compatibility? (The arithmetic operation caused an overflow on SingletonKeyboardHook.Hook)

Sort Posts: Previous Next
  •  09-15-2011, 9:05 AM Post no. 31051

    Xceed SmartUI 64 bit compatibility? (The arithmetic operation caused an overflow on SingletonKeyboardHook.Hook)

    Hi,

     after I compiled a project as AnyCPU in Visual Studio 2010 (C#) and started to debug it on a 64 bit system I got the following stacktrace

     System.OverflowException was unhandled
      Message=The arithmetic operation caused an overflow
      Source=Xceed.SmartUI
      StackTrace:
           bei Xceed.SmartUI.Win32.SingletonKeyboardHook.Hook(Int32 code, IntPtr wparam, IntPtr lparam)
           bei Xceed.SmartUI.Win32.Win32Hook.IntPtrHookProc(Int32 code, IntPtr wparam, IntPtr lparam)
      InnerException:

     at first I thought it was related to a bug in my sourcecode but soon after this one, I got the exact same error on a complete different project, too.

    It's always coming from a ShowDialog() method and it happens as soon as the user tries to enter a text into a textfield. In one case it happens on a WPF form, in the second case it happens on a System.Windows.Forms.FolderBrowserDialog when I try to add a new folder. (I click the "Add new folder" button and as soon as I try to give the new directory a name the OverflowException occurs).

     

    Operating system is Windows 7, 64 bit (as mentioned before). If I set the compilation target platform to x86 everything works.

     So my questions are: Is Xceed.SmartUI x64 compatible by default (I ask that because of the win32 namespacepart)? If yes: what is going on there?!

    If not, is there a x64 compatible dll or will there be a x64 compatible dll?

  •  09-22-2011, 3:51 PM Post no. 31077 in reply to 31051

    Re: Xceed SmartUI 64 bit compatibility? (The arithmetic operation caused an overflow on SingletonKeyboardHook.Hook)

    Hi,

    I encounter the same problem:

    System.OverflowException: Arithmetic operation resulted in an overflow.
         at Xceed.SmartUI.Win32.SingletonKeyboardHook.Hook(Int32 code, IntPtr wparam, IntPtr lparam)
         at Xceed.SmartUI.Win32.Win32Hook.IntPtrHookProc(Int32 code, IntPtr wparam, IntPtr lparam)

    Thanks,

    Marie

  •  09-29-2011, 10:15 AM Post no. 31114 in reply to 31077

    Re: Xceed SmartUI 64 bit compatibility? (The arithmetic operation caused an overflow on SingletonKeyboardHook.Hook)

    Hi, 

    Can you send us a basic sample application that demonstrates this issue so that we investigate this in more detail?  

     You can send it to support@xceed.com

    Please include a reference to this forum post in your email.  

     

     


    Best Regards,

    Michel Dahdah
    Technical Support
    Xceed Software inc.
  •  10-11-2011, 6:41 PM Post no. 31193 in reply to 31114

    Re: Xceed SmartUI 64 bit compatibility? (The arithmetic operation caused an overflow on SingletonKeyboardHook.Hook)

    Any solution to this yet?  I'm getting the same error.  Thanks!
  •  10-12-2011, 9:46 AM Post no. 31197 in reply to 31193

    Re: Xceed SmartUI 64 bit compatibility? (The arithmetic operation caused an overflow on SingletonKeyboardHook.Hook)

    Hi Curtis, 

    As in my last reply, we still can't reproduce the problem.
    If you are able to reproduce it in a sample application, you can send it to support@xceed.com so that we look further into this.  


    Best Regards,

    Michel Dahdah
    Technical Support
    Xceed Software inc.
  •  11-16-2011, 3:22 AM Post no. 31340 in reply to 31197

    Re: Xceed SmartUI 64 bit compatibility? (The arithmetic operation caused an overflow on SingletonKeyboardHook.Hook)

    Since the time I opened this thread, I found two more applications with the same problem.

    In all cases, the project in which the error occurs has no reference to Xceed components, and in two cases even the referenced projects have no Xceed components (only some of the projects that exist in the same solution have Xceed components).

    And why should an EventHandler from Xceed listen to WPF/WindowsForms TextBoxes (which apparently happens)? Or how? Let alone without having a reference to the project and the properties of the TextBoxes are privat.

     oh and I don't seem to be able to reproduce the problem. I tried different approaches but it seems I miss something.

     The Version of my SmartUI is 3.4.7264.16200

     

    *edit

    I just saw that it's not related to ShowDialog(), a regular Show() results in the same error.

  •  11-16-2011, 2:56 PM Post no. 31345 in reply to 31340

    Re: Xceed SmartUI 64 bit compatibility? (The arithmetic operation caused an overflow on SingletonKeyboardHook.Hook)

    Hi Dirk,

    Unfortunately, without a sample application, we will not be able to investigate into the matter. If at some point you are able to reproduce this behavior in a sample application, you can send it to us by email at support@xceed.com


    Marc

    Developer in Technical Support
    Xceed - Multi-talented components - http://xceed.com
  •  08-13-2012, 10:03 AM Post no. 32552 in reply to 31345

    Re: Xceed SmartUI 64 bit compatibility? (The arithmetic operation caused an overflow on SingletonKeyboardHook.Hook)

    Hi Dirk,

    I'm also facing the same problem. Did you get any solution for that. Could you please post it.

    Thanks.

View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.