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#?