fatal error importing progid: 'PXCComLib.CPXCControlEx'
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
-
- User
- Posts: 20
- Joined: Wed Jul 16, 2008 8:38 am
fatal error importing progid: 'PXCComLib.CPXCControlEx'
Hi
I'm transferring my development environment onto a new workstation running Windows 8 and having installed the 'PDF-XChange 4 API Setup' (PDFXAPI4.EXE) and now cannot compile my project which compiles fine on the previous Windows 7 rig with the same API installed. The following errors are produced:
error C1103: fatal error importing progid: 'PXCComLib.CPXCControlEx'
error C3501: there is no typelib registered for ProgID 'PXCComLib.CPXCControlEx'
for the following C++ source line:
#import "progid:PXCComLib.CPXCControlEx" rename_namespace("PXC"), named_guids
I have used Sysinternals' Process Monitor which shows the new workstation is attempting to access registry key:
HKCU\Software\Classes\PXCComLib.CPXCControlEx
Which exists on the old rig but not the new one.
What am I doing wrong?
I'm transferring my development environment onto a new workstation running Windows 8 and having installed the 'PDF-XChange 4 API Setup' (PDFXAPI4.EXE) and now cannot compile my project which compiles fine on the previous Windows 7 rig with the same API installed. The following errors are produced:
error C1103: fatal error importing progid: 'PXCComLib.CPXCControlEx'
error C3501: there is no typelib registered for ProgID 'PXCComLib.CPXCControlEx'
for the following C++ source line:
#import "progid:PXCComLib.CPXCControlEx" rename_namespace("PXC"), named_guids
I have used Sysinternals' Process Monitor which shows the new workstation is attempting to access registry key:
HKCU\Software\Classes\PXCComLib.CPXCControlEx
Which exists on the old rig but not the new one.
What am I doing wrong?
- Ivan - Tracker Software
- Site Admin
- Posts: 3550
- Joined: Thu Jul 08, 2004 10:36 pm
- Location: Vancouver Island - Canada
- Contact:
Re: fatal error importing progid: 'PXCComLib.CPXCControlEx'
Looks like it was registered only in HKLM part of the registry.
Please run
pdfSaver4.exe /RegServer
to register the COM server again.
Please run
pdfSaver4.exe /RegServer
to register the COM server again.
Tracker Software (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
-
- User
- Posts: 20
- Joined: Wed Jul 16, 2008 8:38 am
Re: fatal error importing progid: 'PXCComLib.CPXCControlEx'
Hi Ivan
Thanks for the reply, I've run
pdfSaver4.exe /RegServer
as suggested, from a command prompt run as administrator, i.e. elevated, but that has made no difference. I've also tried unelevated just in case and that makes no difference either.
The file version of pdfsaver4.exe is 4.0.201.0 if that helps - it's from a freshly downloaded copy of the PDF-XChange 4 API Toolkit.
Best Regards
Nick Tucker
Thanks for the reply, I've run
pdfSaver4.exe /RegServer
as suggested, from a command prompt run as administrator, i.e. elevated, but that has made no difference. I've also tried unelevated just in case and that makes no difference either.
The file version of pdfsaver4.exe is 4.0.201.0 if that helps - it's from a freshly downloaded copy of the PDF-XChange 4 API Toolkit.
Best Regards
Nick Tucker
- John - Tracker Supp
- Site Admin
- Posts: 5219
- Joined: Tue Jun 29, 2004 10:34 am
- Location: United Kingdom
- Contact:
Re: fatal error importing progid: 'PXCComLib.CPXCControlEx'
Hi,
Can you please try installing this installation and see if that helps;
https://www.pdf-xchange.com/PDFX4SA_sm.zip
Thanks
Can you please try installing this installation and see if that helps;
https://www.pdf-xchange.com/PDFX4SA_sm.zip
Thanks
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com
-
- User
- Posts: 20
- Joined: Wed Jul 16, 2008 8:38 am
Re: fatal error importing progid: 'PXCComLib.CPXCControlEx'
Hi - I have tried installing the specified update and it still doesn't work.
- Tracker Supp-Stefan
- Site Admin
- Posts: 17941
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: fatal error importing progid: 'PXCComLib.CPXCControlEx'
Hello Nick,
I've passed this topic to Ivan once again and have asked for his further advise. We will post back here when there are some further news.
Regards,
Stefan
I've passed this topic to Ivan once again and have asked for his further advise. We will post back here when there are some further news.
Regards,
Stefan
- Ivan - Tracker Software
- Site Admin
- Posts: 3550
- Joined: Thu Jul 08, 2004 10:36 pm
- Location: Vancouver Island - Canada
- Contact:
Re: fatal error importing progid: 'PXCComLib.CPXCControlEx'
Can you please try import by libid instead of prodid?
It that doesn't help, I would like to have a remove session via TeamViewer to check on your computer why it is not registered properly.
Code: Select all
#import "libid:AAF4C859-3ACD-4D27-88E6-B163C8D81BEC" rename_namespace("PXC"), named_guids
Tracker Software (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
-
- User
- Posts: 20
- Joined: Wed Jul 16, 2008 8:38 am
Re: fatal error importing progid: 'PXCComLib.CPXCControlEx'
#import by libid compiles, but is that the 'correct' form, or does #import by progid not working suggest something is not as it should be?
Also, using the libid form, I'm getting compiler warnings as below - obviously I can use a #pragma to suppress them, but that's also worrying:
view.h(25): warning C4192: automatically excluding '_FILETIME' while importing type library 'AAF4C859-3ACD-4D27-88E6-B163C8D81
BEC
Thanks for progress anyway!
Nick
Also, using the libid form, I'm getting compiler warnings as below - obviously I can use a #pragma to suppress them, but that's also worrying:
view.h(25): warning C4192: automatically excluding '_FILETIME' while importing type library 'AAF4C859-3ACD-4D27-88E6-B163C8D81
BEC
Thanks for progress anyway!
Nick
- Roman - Tracker Supp
- Site Admin
- Posts: 306
- Joined: Sun Nov 21, 2004 3:19 pm
Re: fatal error importing progid: 'PXCComLib.CPXCControlEx'
Hi Nick,
Assuming you are using MS Visual Studio as your dev environment, what is the version of your IDE?
Assuming you are using MS Visual Studio as your dev environment, what is the version of your IDE?
This warning means the #import detected that _FILETIME identifier has been defined somewhere above in the compilation unit and therefore no need to generate its definition from the type library. You can override this default behavior with no_auto_exclude #import attribute. But doing so you will probably meet some issues while using imported interfaces because syntactically identical type definitions in different namespaces are treated as different types by the compiler.that's also worrying:
view.h(25): warning C4192: automatically excluding '_FILETIME' while importing type library 'AAF4C859-3ACD-4D27-88E6-B163C8D81
-
- User
- Posts: 20
- Joined: Wed Jul 16, 2008 8:38 am
Re: fatal error importing progid: 'PXCComLib.CPXCControlEx'
Hi Roman
I'm using Microsoft Visual Studio 2010 SP1
Microsoft Visual Studio 2010
Version 10.0.40219.1 SP1Rel
Microsoft .NET Framework
Version 4.5.51641 SP1Rel
Installed Version: Premium
Regards
Nick
I'm using Microsoft Visual Studio 2010 SP1
Microsoft Visual Studio 2010
Version 10.0.40219.1 SP1Rel
Microsoft .NET Framework
Version 4.5.51641 SP1Rel
Installed Version: Premium
Regards
Nick
- Tracker Supp-Stefan
- Site Admin
- Posts: 17941
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: fatal error importing progid: 'PXCComLib.CPXCControlEx'
Thanks for the extra details Nick!
I've passed that to Roman and he will post his further thoughts here a bit later.
Regards,
Stefan
I've passed that to Roman and he will post his further thoughts here a bit later.
Regards,
Stefan
- Roman - Tracker Supp
- Site Admin
- Posts: 306
- Joined: Sun Nov 21, 2004 3:19 pm
Re: fatal error importing progid: 'PXCComLib.CPXCControlEx'
Thanks for the info, Nick.
Please verify that HKLM\Software\Classes\PXCComLib.CPXCControlEx registry key is present on your system.
As Ivan mentioned, it would be better to get remote access to your system and do live debugging. Site forum has too big lag to be used as an efficient debug channel.
Please verify that HKLM\Software\Classes\PXCComLib.CPXCControlEx registry key is present on your system.
As Ivan mentioned, it would be better to get remote access to your system and do live debugging. Site forum has too big lag to be used as an efficient debug channel.
-
- User
- Posts: 20
- Joined: Wed Jul 16, 2008 8:38 am
Re: fatal error importing progid: 'PXCComLib.CPXCControlEx'
Hi Roman
I have just confirmed that HKLM\Software\Classes\PXCComLib.CPXCControlEx registry key is present on my system.
Remote access would be possible, just a question of how to co-ordinate given I'm in the UK.
Many thanks
Nick
I have just confirmed that HKLM\Software\Classes\PXCComLib.CPXCControlEx registry key is present on my system.
Remote access would be possible, just a question of how to co-ordinate given I'm in the UK.
Many thanks
Nick
- John - Tracker Supp
- Site Admin
- Posts: 5219
- Joined: Tue Jun 29, 2004 10:34 am
- Location: United Kingdom
- Contact:
Re: fatal error importing progid: 'PXCComLib.CPXCControlEx'
Roman is based in our European office so is just a couple of hours ahead of you - please suggest a couple of dates/times when this would be convenient ..
Please email this to support@pdf-xchange.com - for the attention of Roman with a link back to this forum thread and we will try and ensure that this is accomdated.
Thanks
Please email this to support@pdf-xchange.com - for the attention of Roman with a link back to this forum thread and we will try and ensure that this is accomdated.
Thanks
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.
Best regards
Tracker Support
http://www.tracker-software.com
Best regards
Tracker Support
http://www.tracker-software.com
-
- User
- Posts: 20
- Joined: Wed Jul 16, 2008 8:38 am
Re: fatal error importing progid: 'PXCComLib.CPXCControlEx'
Will do, although I am about to take a week's holiday so let's defer this until I get back.
Thanks
Nick
Thanks
Nick
- Tracker Supp-Stefan
- Site Admin
- Posts: 17941
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: fatal error importing progid: 'PXCComLib.CPXCControlEx'
Hi Nick,
Sure - whenever you can. Send it to us and we will act further!
Regards,
Stefan
Sure - whenever you can. Send it to us and we will act further!
Regards,
Stefan