Hi All,

We just upgrade to CR XI in our environment, and our development tools is VS2005 (VB.NET).

1) For testing purpose, I open a very simple application which include CrystalReportViewer in a form and try to load a report. When I run it, I got the following error:

A call to PInvoke function 'CrystalDecisions.Windows.Forms!CrystalDecisions.Windows.Forms. :: b' 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.

For the same application running in VS2005, it got no problem (also using CR XI viewer).


2) Another problem is that, we use CR7 feature to add more than one *.rpt and preview it in window as single file with multiple pages:

Set Rptpk = New CRVIEWERLibCtl.ReportSourceRouter
Rptpk.AddReport rpt1
Rptpk.AddReport rpt2
...
...

I can't find any resources on doing this is CR XI, any one know any inforamtion about this?

Thanks.