cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal reports 13.0.26 problem Marshal.StructureToPtr

former_member480454
Discoverer
0 Kudos

I installed Crystal reports 13.0.26 64 bits, when trying to print a report with c# desktop application dotnet 4.5 An error :

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

In some hosts ther is no problem..

View Entire Topic
DellSC
Active Contributor
0 Kudos

Who developed the application? Are you installing the same version of runtime as the application was developed with?

Is the application compiled for 32-bit or 64-bit? The bit-ness of the required runtime should match the bit-ness of the application regardless of the OS it's installed on.

When the runtime was installed, were you logged in with Administrator privileges? If not, you need to be because there are a bunch of registry entries that get set.

Finally, this error is not directly from the Crystal SDK - it's a system error. You would need to post the stack trace from the error for us to determine whether it's a Crystal issue or something else.

-Dell