Search found 20 matches

by nick.tucker
Wed Aug 24, 2016 2:49 pm
Forum: PDF-XChange Drivers API SDK
Topic: IPXCControlEx.RemoveOrphanPrinters() - multiple instances
Replies: 1
Views: 2266

IPXCControlEx.RemoveOrphanPrinters() - multiple instances

Hi Tracker. I have just upgraded and ported my C++ code from using PDF-XChange 4.0 Drivers API SDK to PDF-XChange 6. I notice the new sample C source code (CExAPI) shows IPXCControlEx.RemoveOrphanPrinters() being called as soon as the factory object is created to remove any old printer objects that ...
by nick.tucker
Mon Dec 15, 2014 9:44 am
Forum: PDF-XChange Drivers API SDK
Topic: Unable to specify Digital Certificate
Replies: 8
Views: 4993

Re: Unable to specify Digital Certificate

That works fine - many thanks!

Nick Tucker
by nick.tucker
Fri Dec 12, 2014 11:12 am
Forum: PDF-XChange Drivers API SDK
Topic: Unable to specify Digital Certificate
Replies: 8
Views: 4993

Unable to specify Digital Certificate

Hi there I am attempting to use the V4 API SDK to digitally sign newly created PDF files via the code snippet below in the context of a successfully created instance: m_pPrinter->ResetDefaults(); m_pPrinter->Option[L"Save.SaveType"] = L"Save"; m_pPrinter->Option[L"Save.ShowS...
by nick.tucker
Fri Oct 10, 2014 8:29 am
Forum: PDF-XChange Drivers API SDK
Topic: fatal error importing progid: 'PXCComLib.CPXCControlEx'
Replies: 15
Views: 6649

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
by nick.tucker
Thu Oct 09, 2014 3:31 pm
Forum: PDF-XChange Drivers API SDK
Topic: fatal error importing progid: 'PXCComLib.CPXCControlEx'
Replies: 15
Views: 6649

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
by nick.tucker
Thu Oct 09, 2014 9:31 am
Forum: PDF-XChange Drivers API SDK
Topic: fatal error importing progid: 'PXCComLib.CPXCControlEx'
Replies: 15
Views: 6649

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
by nick.tucker
Tue Oct 07, 2014 12:30 pm
Forum: PDF-XChange Drivers API SDK
Topic: fatal error importing progid: 'PXCComLib.CPXCControlEx'
Replies: 15
Views: 6649

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): warnin...
by nick.tucker
Fri Oct 03, 2014 11:26 am
Forum: PDF-XChange Drivers API SDK
Topic: fatal error importing progid: 'PXCComLib.CPXCControlEx'
Replies: 15
Views: 6649

Re: fatal error importing progid: 'PXCComLib.CPXCControlEx'

Hi - I have tried installing the specified update and it still doesn't work.
by nick.tucker
Mon Sep 22, 2014 10:45 am
Forum: PDF-XChange Drivers API SDK
Topic: fatal error importing progid: 'PXCComLib.CPXCControlEx'
Replies: 15
Views: 6649

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 tha...
by nick.tucker
Mon Sep 15, 2014 11:06 am
Forum: PDF-XChange Drivers API SDK
Topic: fatal error importing progid: 'PXCComLib.CPXCControlEx'
Replies: 15
Views: 6649

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...
by nick.tucker
Mon Nov 12, 2012 12:21 pm
Forum: PDF-XChange Drivers API SDK
Topic: Hang caused by pdfsaver4 calling SendMessageTimeout()
Replies: 20
Views: 8543

Hang caused by pdfsaver4 calling SendMessageTimeout()

Hi there I have a customer who is experiencing hangs in PDF generation using the latest PDF-XChange 4 Drivers API which turn out to be because other unrelated apps (e.g. outlook.exe) are running on their workstation but are either hung or simply busy and not servicing their Windows messages. The cum...
by nick.tucker
Wed May 16, 2012 11:45 am
Forum: PDF-XChange Drivers API SDK
Topic: PXC::IPXCControlEx::GetPrinterW() generating exception error
Replies: 21
Views: 10266

Re: PXC::IPXCControlEx::GetPrinterW() generating exception e

Hi For anyone still out there, I have at long last worked around this problem by catching the exception and retrying thus: for (;;) { CLSID clsid; try { CLSID clsid; if (SUCCEEDED(CLSIDFromProgID(L"PXCComLib.CPXCControlEx",&clsid))) m_pFactory = PXC::IPXCControlExPtr(__uuidof(PXC::CPXC...
by nick.tucker
Tue Sep 13, 2011 9:49 am
Forum: PDF-XChange Drivers API SDK
Topic: Intermittent COM exception when creating printer
Replies: 4
Views: 3160

Re: Intermittent COM exception when creating printer

Hi there This problem is quite intermittent - it only occurs about once a day on a heavily used terminal server. So I'm afraid it's not one that I can reproduce on demand for you. Would it be perhaps possible for you to produce a debug version of your product that I can deploy so future minidumps wo...
by nick.tucker
Wed Sep 07, 2011 8:32 am
Forum: PDF-XChange Drivers API SDK
Topic: Intermittent COM exception when creating printer
Replies: 4
Views: 3160

Intermittent COM exception when creating printer

Hi I have an intermittent problem with PDF-XChange 4.0 build 197 running on Windows Server 2008 Standard x64 terminal server where HRESULT 0x80080005 is returned from the last line in the following code snippet which is the source corresponding to the attached crash minidump: if (m_pFactory == NULL)...
by nick.tucker
Thu Jun 23, 2011 3:43 pm
Forum: PDF-XChange Drivers API SDK
Topic: PXC::IPXCControlEx::GetPrinterW() generating exception error
Replies: 21
Views: 10266

Re: PXC::IPXCControlEx::GetPrinterW() generating exception e

This surely cannot be an unload problem since unload problems only occur if two minutes or more elapse between the creation of the factory object and the creation of the printer object. This scenario only happened on my test rig because I was running it under the Visual Studio debugger and had a deb...
by nick.tucker
Tue Jun 21, 2011 4:02 pm
Forum: PDF-XChange Drivers API SDK
Topic: PXC::IPXCControlEx::GetPrinterW() generating exception error
Replies: 21
Views: 10266

Re: PXC::IPXCControlEx::GetPrinterW() generating exception e

Hi Stefan

Thanks for your reply. OK, let's assume the two-minute timeout is a red herring here (unless the failing systems take over two minutes to process those two calls!).

Can your devs still take a look at the problem as originally reported.

Thanks

Nick
by nick.tucker
Tue Jun 21, 2011 2:32 pm
Forum: PDF-XChange Drivers API SDK
Topic: PXC::IPXCControlEx::GetPrinterW() generating exception error
Replies: 21
Views: 10266

Re: PXC::IPXCControlEx::GetPrinterW() generating exception e

Hi again I have accidentally found another scenario with the above code today which produces similar results. When running the code in Visual Studio, I had the code break after the creation of the printer factory object but before the creation of the printer object. I was called away from my desk fo...
by nick.tucker
Tue Jun 21, 2011 1:09 pm
Forum: PDF-XChange Drivers API SDK
Topic: PXC::IPXCControlEx::GetPrinterW() generating exception error
Replies: 21
Views: 10266

Re: PXC::IPXCControlEx::GetPrinterW() generating exception e

Hi Stefan

Sorry, I should have added to my original post that the build number in use is 4.0.195 - I have verified the components loaded when the error occurs are at that build.

Thanks for your swift response so far!

Nick
by nick.tucker
Tue Jun 21, 2011 11:19 am
Forum: PDF-XChange Drivers API SDK
Topic: PXC::IPXCControlEx::GetPrinterW() generating exception error
Replies: 21
Views: 10266

PXC::IPXCControlEx::GetPrinterW() generating exception error

Hi I have an application which intermittently generates unhandled exception errors when run on some workstations. The section of code used to create the PDF-XChange 4 printer instance is based on the given examples and looks like this: { CLSID clsid; if (SUCCEEDED(CLSIDFromProgID(L"PXCComLib.CP...
by nick.tucker
Wed Aug 20, 2008 1:44 pm
Forum: PDF-XChange Print Drivers
Topic: How exactly do I prevent 'buy now' watermarks appearing...
Replies: 1
Views: 1110

How exactly do I prevent 'buy now' watermarks appearing...

I have purchased a PDF-XChange PRO 4 SDK (7500CDLP), which I have successfully deployed in my software to generate PDF output files. I understand from your staff that I can use my SDK serial number in the form PCS40-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX together with the corresponding viewer serial number i...