PDFsharp & MigraDoc Forum
https://forum.pdfsharp.net/

No instance for second Run
https://forum.pdfsharp.net/viewtopic.php?f=2&t=2269
Page 1 of 1

Author:  roel1234 [ Sun Dec 16, 2012 5:39 am ]
Post subject:  No instance for second Run

Hello Every one,

I have been using PDFsharp to generate PDF file for my Visual C++ application.
The problem is that every time I regenerate the same file( editing the file name) an exception error occurs as shown below.
I need to re-run my application in order to regenerate the same file....

Image

The application is working fine for the first generation( compile and running good). But the odd issue is that the error is happening after regeneration..
Do you guys have any idea to solve my issue?
I have tried gfx->Dispose(); but dispose is not a member of PdfSharp::Drawing::XGraphics upon compiling.

Hoping for positive response.

Regards,
Roel

Attachments:
PDFShrpNullExectionError.png
PDFShrpNullExectionError.png [ 29.09 KiB | Viewed 4686 times ]

Author:  () => true [ Mon Dec 17, 2012 7:48 am ]
Post subject:  Re: No instance for second Run

Hi!
roel1234 wrote:
I need to re-run my application in order to regenerate the same file....
Our applications can create the PDF files several times without requiring a re-start of the application.
From your screen shot I get no idea what could be the problem here.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/