Multiple applications installing different versions causes p

Have questions about novaPDF (desktop or server), or having problems using it? Ask here for help.
Posts: 1
Joined: Wed Feb 13, 2013 10:40 pm

Multiple applications installing different versions causes p

Postby peterberglund » Wed Feb 13, 2013 10:54 pm

We are using registered novaPDF SDK 7.5 (Win 7, C++). A previously installed application was using novaPDF SDK 6. After our installation runs, the other application fails to print to its Nova PDF printer. What are we doing wrong? Is there a way to use two COM versions on the same machine? The Windows Registry indicates that the version 6 COM is no longer accessible after installing version 7.5.
Thank you.

Posts: 163
Joined: Wed Dec 16, 2009 10:48 am
Location: Cluj-Napoca, Romania

Re: Multiple applications installing different versions caus

Postby Softland » Fri Feb 15, 2013 2:00 pm

Both COMs in version 6 and 7 of novaPDF have the same GUID so only one of them can be registered on a computer. In version 7 of novaPDF we added an additional COM exactly for these kind of problems. For novaPDF SDK 7 here is what you have to do to use the COM with the different GUID:

First, when install novaPDF SDK on your development computer, add this command line parameter:

This instructs the SDK to automatically register the COM from this folder:
C:\Program Files\Softland\novaPDF SDK 7\Lib\GUIDver7\novapi7n.dll

In your application, add a reference to this COM. The interface has the same methods, but you might need to change in your code the interface name from NovaPdfOptions to NovaPdfOptions7

When distributing novaPDF with your application, add next command line parameter to the novapk7.exe:

Another solution would be to use the registration-free or Isolating COM technology that uses a Com provided with an application without registering it in the system. We have implemented this in our C++ Hello World Network sample.

Return to “Support & Troubleshooting”