cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Method not found System.Runtime.InteropServices.Marshal.StructureToPtr

Former Member
0 Likes
4,293

I installed Crystal reports 13.0.26 in windows 7 64 bits.But when i try to print a report using c# desktop application and dotnet framework 4.5, an error message occur:

Method not found Void System.Runtime.InteropServices.Marshal.StructureToPtr(!!0, IntPtr, Boolean).

Howerver, i can print reports using the same application in other desktops.

Can you help me please?

View Entire Topic
0 Likes

Use ProcessMonitor and check runtime versions and/or missing dependencies.

May even be an issue with the Printer driver used. Always use Dissociate in Page Setup in the report designer.

See the printer test app for printing on the downlaod WIKI page:

https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads

https://blogs.sap.com/2015/08/19/printing-crystal-reports-in-net/

Don