Sudden Exception in Convert with trial demo key - When already worked before

Your provided sample code neither calls PDFNet.Initialize() nor PDFNet.Terminate(), so it is unclear how it relates to the issue at hand.

PDFNet.Initialize() must be the first PDFNet API call you make. If it was working before, but then stopped working, without any change in your code, then there must be a race-condition.

PDFNet.Initialize() should be called once for your process, as early as possible.

If none of the above helps resolve the issue, please modify one of our SDK samples to reproduce.

1 Like