on ‎2020 Apr 10 2:52 PM
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?
Request clarification before answering.
the problem is, as someone from SAP should answer, in versions of VS and CR. for example, if you use VS2019 and SR SP29, and if you target framework 4.0 in VS, your app will not work OK at the clients. No matter what framework you chose in Visual Studio, CR will use framework for which that CR version is intended for, in this case .NET 4.8. If you try to install some earlier CR SP(<v26), it will not work with VS2019 🙂
so if your clients does not have framework 4.8, you are in problem. versions and comparassion is here https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads
For this, I can not migrate to VS2019, because my clients are on XP(max 4.03 if I can remember), and win7 moustlly(updates are off, they work 24/7, gas stations, so updates will only make a mess). Maybe CR can do the same for us, to choose version while developing.so that I can, for example, use SP23 for framework 4.0 in VS2019.
I hope that my answer is not correct and that there is workaround.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.