locked
DllImport user32.dll crash Dynamics GP RRS feed

  • Question

  • I am working on using a native windows API inside Dynamics GP AddIns (c#). GP windows crashes once I move GP window. Any one has experience to address this issue?

    [DllImport("user32.dll", EntryPoint = "SetWindowLong")]

           private static extern int SetWindowLong32(HandleRef hWnd, int nIndex, int dwNewLong);

    anyone has example of SetWindowLongPtr in c#?

    Thursday, August 29, 2013 5:20 PM

Answers

  • Hi,

    For issue about Microsoft Dynamics GP, we’d recommend you ask Microsoft Dynamics GP forum for professional solution:

    http://community.dynamics.com/gp/f/32.aspx

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.

    In addition, please refer to this thread, it may be helpful to you:

    http://community.dynamics.com/gp/f/32/t/111352.aspx#.UiA_hiSwoid


    Karen Hu
    TechNet Community Support

    • Marked as answer by Cloud_TS Thursday, September 5, 2013 12:44 PM
    Monday, September 2, 2013 1:12 AM