We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

PInvokeStackImbalance Error

Thread ID:

Created:

Updated:

Platform:

Replies:

57245 Feb 28,2007 04:00 AM Mar 12,2007 07:27 PM General Discussion 1
loading
Tags: General Discussion
Steven Hawkes
Asked On February 28, 2007 04:00 AM

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.
*************************************************

Kumaresh [Syncfusion]
Replied On March 12, 2007 07:27 PM


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.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;