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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

PInvokeStackImbalance

Thread ID:

Created:

Updated:

Platform:

Replies:

38450 Dec 13,2005 03:07 PM UTC Dec 13,2005 06:32 PM UTC WinForms 5
loading
Tags: Tools
Narendra Maharaj
Asked On December 13, 2005 03:07 PM UTC

I have a single Syncfision TabbedMDIManager in a my main form. I''m getting the following runtime error in mu Program class Application.Run(...). I''m using VS2005 and the Syncfusion 2.0 dll''s "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."

Narendra Maharaj
Replied On December 13, 2005 03:15 PM UTC

I commented out the obvious culprit: m_tabbedMDIManager.AttachToMdiContainer(this); where m_tabbedMDIManager is the TabbedMDIManager and at least it runs. I''m using Suncfusion 3.3.0.0. Any ideas?

Narendra Maharaj
Replied On December 13, 2005 03:29 PM UTC

ignore this in have to use ver Syncfusion 4.1

Mano J [Syncfusion]
Replied On December 13, 2005 03:30 PM UTC

Hi Narendra, This is a known issue # 825 in v.3.3, which has been fixed internally in our source code. TabControlAdv causes a PInvoke related crash in VS 2005 RC1 If you are interested in receiving a private patch build containing this fix, please create a Direct-Trac incident in this regard mentioning the forum post number in the subject line. Note that this is an internal build and it should be used for testing purposes only. Please let me know if you have any questions. Thanks for using Syncfusion products. Regards, Mano

Narendra Maharaj
Replied On December 13, 2005 04:24 PM UTC

I''m about to use ver 4.1 beta. Will that work?

Narendra Maharaj
Replied On December 13, 2005 06:32 PM UTC

Works perfectly with ver 4.1 Thanks!

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.

Warning Icon 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.Close Icon

;