PInvokeStackImbalance Error

Hi,

I get the following error in my code since we migrated from .NET 1.1. to .NET 2.0. The version of the Syncfusion libraries we are using is 3.201.1.0.

This error occurs when we run some code from a timer thread that does some updating to models in the GUI but does not access any GUI components directly.

I tried adding a "InvokeRequired" in the timer thread but this was never true.

What are your thoughts.

*************************************************
PInvokeStackImbalance was detected
Message: A call to PInvoke function 'Syncfusion.Shared.Base!Syncfusion.Runtime.InteropServices.NativeMethods::ImageList_DrawEx' 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.
*************************************************

1 Reply

KU Kumaresh Syncfusion Team March 12, 2007 11:27 PM UTC


Hi Stevan,

Sorry for the delay in getting back to you.

The version that you are using currently is not compatible with .NET 2.0. If you plan to work with .NET 2.0 then, Essential Studio version 4.x is recommended. This version is fully compatible and has been tested with .NET 2.0. This also supports .NET 1.0 and 1.1 frameworks.

Please refer the below link to download the latest version
http://www.syncfusion.com/downloads/latestversion/default.aspx

Our next version Essential Studio 5.0, which is to be released mid of March, please refer the link for more information.

New Features in version 5

Thanks for your interest in Syncfusion products.

Regards,
Kumaresh.

Loader.
Up arrow icon