cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with usp10.dll

filippo_menditto
Participant
0 Kudos

Hy, my program it's written in Visual basic 2010 vs2010 and use Crystal Reports 2008 engine.

In IDE enviroment I can see the CRw32.exe load c:\windows\system32\usp10.dll and C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\usp10.dll  and there are no problems with justify text.

My exe program have problem because it load only c:\windows\system32\usp10.dll.

I can't understand why my executable program load this dll and not other ...

Anyone have some idea ?

Thanks

Filippo

Accepted Solutions (1)

Accepted Solutions (1)

filippo_menditto
Participant
0 Kudos

Another specification: i'm on a 64-bit system and I compile application for x86. So che usp10.dll loaded from executable program is c:\windows\sysWow64\usp10.dll ....

former_member183750
Active Contributor
0 Kudos

If this is a WIn app, make sure you are using SP4. If this is a web app, use SP3:

http://scn.sap.com/docs/DOC-7824

- Ludek

Follow us on Twitter

Got Enhancement ideas? Try the SAP Idea Place

Share Your Knowledge in SCN Topic Spaces

filippo_menditto
Participant
0 Kudos

Hy Ludek,

I'm using Crystal Reports 2008 full edition SP5

former_member183750
Active Contributor
0 Kudos

Umm, not with VS2010...

Not supported. Download Crystal Reports for Visual Studio 2010 from here:

http://scn.sap.com/docs/DOC-7824

Change the CR references to v. 13 and retest.

- Ludek

filippo_menditto
Participant
0 Kudos

Thanks now I try.

But I have a question: now we are using Crystal Reports 20008 to create standalone reports that are used in our application. If I upgrade Engine with Crystal Reports for Visual Studio 2010 can I still use Cryatal Reprots 2008 to create report ?

former_member183750
Active Contributor
0 Kudos

Yes, not a problem at all.

- Ludek

filippo_menditto
Participant
0 Kudos

Ok, so the situation is this:

- Visual Studio 2010

- Crystal Reports for Visual Studio 2010

- Report made with Crystal Reports 2011

Now I can see that are loaded usp10.dll twice: from Syswow64 and another istance from the correct Business Object folder.

I have a memo field with justify option and Calibri Font.

- If I show a report with Crystalviewer and print from this all is ok.

- if I print a report from rdc.PrintOutputController.PrintReport where rdc   is ISCDReportClientDocument the text spacing are bad. I hoped the prbolem was incorrect USP10.dll ut seems is not so.

If I export the report in PDF format all is ok.

Any idea ?

filippo_menditto
Participant
0 Kudos

Sorry ... this happen with all font ...

former_member183750
Active Contributor
0 Kudos

Not sure if USP10 is the problem anymore here. Things to try:

Test the app running from the app.exe, not the VS IDE.

See if you can replace the USP10 in the Syswow64 folder with the one from the CR folder.

See if using as different printer driver will help.

- Ludek

filippo_menditto
Participant
0 Kudos

1) Running app.exe nothing change.

2) Using different printer driver nothing change.

3) Replace USP10 in the SysWow64 with the Crystal dll work.

   But this is not a solution becasue is a system dll so any Windows or Office upate can change the        dll again ...

The strange is that printing the same document from CrystalViewer object work fine ...

filippo_menditto
Participant
0 Kudos

Another specification:

using rdc.PrintOutputController.PrintReport where rdc   is ISCDReportClientDocument the text spacing are bad.

using PrintToPrinterof RecordDocument object text spacing are correct.

So I change my program and all work fine. Pitty that with PrintToPrinter is not possibile to customize the job printer title like you can do with PrintOutputController.

At the end I think, the problem is in the different mode to use USP10.dll of two methods ...


former_member183750
Active Contributor
0 Kudos

What is the version of the file crpe32.dll loaded by your app? Use Modules to find out.

- Ludek

filippo_menditto
Participant
0 Kudos

Now I'm using PrintToPrinter and text justify it's ok CRPE32.dll it's 13.0.4.705 in

C:\program files (x86)\sap businessobjects\crystal reports for .net framework 4.0\common\sap businessobjects enterprise xi 4.0\win32_x86\crpe32.dll

I could change program to use PrintOutputController again and verify if it use the same 

filippo_menditto
Participant
0 Kudos

Using PrintToPrinter CRPE32.DLL it's the same but text justify are wrong ...

Answers (0)