Page 1 of 1

Multiple applications installing different versions causes p

Posted: Wed Feb 13, 2013 10:54 pm
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.

Re: Multiple applications installing different versions caus

Posted: Fri Feb 15, 2013 2:00 pm
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.

Re: Multiple applications installing different versions causes p

Posted: Wed Nov 15, 2017 10:21 pm
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?

Re: Multiple applications installing different versions causes p

Posted: Fri Nov 24, 2017 1:54 pm
by Lorant (Softland)
Hi Dan, can you please get in touch with us via email at [email protected] to offer a solution? Thanks.