Multiple applications installing different versions causes p

Have questions about novaPDF (desktop or server), or having problems using it? Ask here for help.
peterberglund
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.

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

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:
/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: 6
Joined: Tue Dec 07, 2010 2:41 pm
Location: Toronto Canada
Contact:

Re: Multiple applications installing different versions causes p

Postby DanCooperstock » Wed Nov 15, 2017 10:21 pm

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?

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

Re: Multiple applications installing different versions causes p

Postby Softland » Fri Nov 24, 2017 1:54 pm

Hi Dan, can you please get in touch with us via email at support@novapdf.com to offer a solution? Thanks.


Return to “Support & Troubleshooting”