Todd Carlson
Posts: 29
Joined: 2006-05-07
|
Attempting to debug a VS2005 project with ADX Extensions is generating:
A call to PInvoke function 'AddinExpress.OL.2005!AddinExpress.OL.WindowsAPI::SetWindowLong' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature.
And hangs the debugger.
Todd
|
|
Fedor Shihantsov
Guest
|
Hi Todd,
WindowsAPI is an internal class not for public usage.
if you want to use this function, please, use you own declaration
[DllImport("user32.dll", EntryPoint="SetWindowLong")]
public static extern IntPtr SetWindowLong(IntPtr hWnd, int nIndex, WindowsProc dwNewLong);
Fedor |
|
Todd Carlson
Posts: 29
Joined: 2006-05-07
|
Fedor,
I am not attempting to use the function. The report from VS appears when I attempt to debug a project containing ADX Extensions. Removing the ADX Extensions the problem goes away.
Todd
|
|
Fedor Shihantsov
Guest
|
I misunderstood you last time.
We've fixed this bug, in the next build you will be able to make sure of this.
Thanks a lot, Todd. |
|