[PDF Converter]CaptureEvents hangs the printing

If you are a C/C++/C# developer and have any questions about using our products from your application here is the place to post them.
Post Reply
Posts: 11
Joined: Mon Jul 23 2007
Location: The Netherlands

[PDF Converter]CaptureEvents hangs the printing

Post by pmeems » Wed Jul 25 2007

I'm trying to build a C# application to convert a MS Word doc into a PDF.
I'm trying to handle the events:

Code: Select all

                cdiNet.EnabledPre += new eveEnabledPre(cdiNet_EnabledPre);
                cdiNet.StartDocPre += new eveStartDocPre(cdiNet_StartDocPre);
                cdiNet.StartDocPost += new eveStartDocPost(cdiNet_StartDocPost);
                cdiNet.StartPage += new eveStartPage(cdiNet_StartPage);
                cdiNet.EndPage += new eveEndPage(cdiNet_EndPage);
                cdiNet.EndDocPre += new eveEndDocPre(cdiNet_EndDocPre);
                cdiNet.EndDocPost += new eveEndDocPost(cdiNet_EndDocPost);
But nothing happens.
When I set CaptureEvents to True my applications stalls (hangs) at the printOut command of MS Word.
I need the handle the events because I must know when the pdf is finished so I can close my Word doc again.

So please help me, I'm desperate :cry:


Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002

Post by Joan » Fri Aug 10 2007

Hello Paul,

Did you add SetBraodcastMessages to your call of SetFileNameOptions?

Which version of the PDF Converter are you using?

Post Reply