By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,996 Members | 892 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,996 IT Pros & Developers. It's quick & easy.

How do I get RTF to print in Win7-64bit?

P: n/a
Hi Everyone,

I am printing RTF text as the header to a report. The report is built with DrawString calls. The code (thanks to a previous question works great when I run the app on XP or Win7-32bit. My work has gone to new Win7-64 machines for the developers. On the new machines, I can step through the code with no exceptions, but there is nothing printed for the headers.

Does anybody know how to get RTF to print using Win7-64bit?

Thank you in advance.
Oct 14 '10 #1
Share this Question
Share on Google+
1 Reply

P: 46
Depending on what component is handling the print for you, some of them are not 64 bit ready (i.e. 32 bit only). To use them you must compile your application as 32 bit only. It will then run on the WOW platform that Win7 supplies.

You change this option on the Properties\Compile screen. Press Advanced Compile Options and review Target CPU:
Oct 19 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.