Sporadic crash when calling LoadProfile
Posted: Wed Mar 14, 2018 2:39 pm
I have a Revit plugin written in C# which previously used the Nova7 library for printing.
I have updated the libraries to Nova9 but am having a sporadic crash when calling
The prior code for setting up Nova is pretty much identical to your samples:
Does anybody have any clues as to what I might be doing wrong?
I have updated the libraries to Nova9 but am having a sporadic crash when calling
Code: Select all
pNova.LoadProfile(newProfileID);
Code: Select all
pNova = new NovaPdfOptions90();
pNova.Initialize(PRINTER_NAME, settings.novaPDFKey);
string newProfileID = String.Empty;
pNova.AddProfile(PROFILE_NAME, PROFILE_IS_PUBLIC, out newProfileID);
pNova.LoadProfile(newProfileID);