Multiple applications installing different versions causes p

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

Multiple applications installing different versions causes p

Post by peterberglund »

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.

Lorant (Softland)
Posts: 177
Joined: Wed Dec 16, 2009 10:48 am

Re: Multiple applications installing different versions caus

Post by Lorant (Softland) »

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:
/RegisterCOMVer7

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:
/RegisterCOMVer7

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.

DanCooperstock
Posts: 7
Joined: Tue Dec 07, 2010 2:41 pm

Re: Multiple applications installing different versions causes p

Post by DanCooperstock »

Our installation of novaPDF7 SDK uses novapk.exe, not novapk7.exe, and we use the switch /RegisterWin32COM. Are you saying that switching that to /RegisterCOMVer7 will stop the interference with another vendor's installation? And what else exactly do we have to change if we change to that switch?

Lorant (Softland)
Posts: 177
Joined: Wed Dec 16, 2009 10:48 am

Re: Multiple applications installing different versions causes p

Post by Lorant (Softland) »

Hi Dan, can you please get in touch with us via email at [email protected] to offer a solution? Thanks.

Post Reply