Error - DesignWithWpf() on Windows 7, 64 bits

Stimulsoft Reports.WPF discussion
Post Reply
LukasT
Posts: 306
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

Error - DesignWithWpf() on Windows 7, 64 bits

Post by LukasT »

Hi,

I have problem by calling method StiReport.DesignWithWpf() on Windows 7, 64 bits. This error message is shown:

A call to PInvoke function 'Stimulsoft.Report.Wpf!Stimulsoft.Report.Wpf.GlassHelper::DwmExtendFrameIntoClientArea' 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.
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Error - DesignWithWpf() on Windows 7, 64 bits

Post by Andrew »

Hello,

Which version of Stimulsoft Reports do you use? Please check the latest prerelease build. This problem is not reproduced under this build.

Thank you.
LukasT
Posts: 306
Joined: Mon May 03, 2010 2:50 am
Location: Czech Republic

Error - DesignWithWpf() on Windows 7, 64 bits

Post by LukasT »

WpfDesign.dll is 2010.1.700.0
Anton Lozovskiy
Posts: 135
Joined: Tue Aug 11, 2009 9:38 am

Error - DesignWithWpf() on Windows 7, 64 bits

Post by Anton Lozovskiy »

Hello,

Please check the latest prerelease build.

Thank you.
Guim
Posts: 2
Joined: Thu Jul 01, 2010 3:52 am

Error - DesignWithWpf() on Windows 7, 64 bits

Post by Guim »

Hello !

I had the same pb with a project targetting x86 on a Win7 64bits machine.
I change the compilation target to Any CPU and it seems to work !
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Error - DesignWithWpf() on Windows 7, 64 bits

Post by Jan »

Thank you for your information. Any Cpu usually is best choose if you don't need some bit-specified operations.


Post Reply