v11 and the new required file (icu*.dat)  SOLVED

PDF-XChange Editor SDK for Developers

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
zarkogajic
User
Posts: 1549
Joined: Thu Sep 05, 2019 12:35 pm

v11 and the new required file (icu*.dat)

Post by zarkogajic »

Hi Support,

In another topic (viewtopic.php?p=202941#p202941), Vasyl mentioned:

Code: Select all

Common
	.Current
		OCV
			<platform>
				ImageProcess.dll // required for EnhanceScans, IdentifyForms, etc
	ICU
		icudt74l.dat // critical data-file, https://icu.unicode.org/
	Languages
		*.xcl // all UI-localizations
RedactPatterns //optional, required for Find&Redact feature
Tesseract // optional, 'Default OCR' engine, also used by IdentifyForms            
Plugins.<platform> // optional
....
Resources.dat // critical data-file
PXCEditorCore.<platform>.dll
For future readers: the new (from v11) "icudt74l.dat" can be located at "C:\Program Files\Common Files\PDF-XChange\ICU" (if PDF-XChange Editor also installed).

Question:

I would really want to change the location of the needed file and folder ("Common") - but, for example:

Code: Select all

IPXV_Inst Inst;

... //do before Init()
Inst.SetStdFolder(PXV_StdFolder_Common, myPathToCommonFolder)
Does not work.

So, my hope that "PXV_StdFolder_Common" is for the "location of DLL\Common" folder - seems not to be the truth.

Is the location of "resources.dat", "\common\icu\icu file" really hard coded ?

No way to set that ?

p.s.
I've also tried setting PXV_StdFolder_Root (to try to specify where Resources.dat is) - but no go ...

-žarko
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 12790
Joined: Wed Jan 03, 2018 6:52 pm

Re: v11 and the new required file (icu*.dat)

Post by Daniel - PDF-XChange »

Hello, zarkogajic

Thank you for the inquiry, I have forwarded this to the Devs fore a response. Know that they are quire busy right now, so I cannot promise a swift reply.

Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
[email protected]
zarkogajic
User
Posts: 1549
Joined: Thu Sep 05, 2019 12:35 pm

Re: v11 and the new required file (icu*.dat)

Post by zarkogajic »

Hi Dan

No rush, thanks.

-žarko
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 12790
Joined: Wed Jan 03, 2018 6:52 pm

v11 and the new required file (icu*.dat)

Post by Daniel - PDF-XChange »

:)
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
[email protected]
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2488
Joined: Thu Jun 30, 2005 4:11 pm

Re: v11 and the new required file (icu*.dat)

Post by Vasyl - PDF-XChange »

Just tried and couldn't reproduce your case when v11 editor's activeX looks to:

"C:\Program Files\Common Files\PDF-XChange\..."

In the context of our FullDemo sample app it looks for the 'Common' subfolder located in the same folder where the PXCEditorCore.<platform>.dll is located. Like this:

Code: Select all

EditorSdkFolder
	Common
		ICU
			icudt74l.dat

	Resources.dat
	PXCEditorCore.<platform>.dll
Please note - if you don't use the RegistrationFree(ClickOnce) method for our sdk - it means that you need to be sure that exactly the /EditorSdkFolder/PXCEditorCore.<platform>.dll module is registered in the system (by regsvr32 for example). Just to avoid any potential confusion here...
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
zarkogajic
User
Posts: 1549
Joined: Thu Sep 05, 2019 12:35 pm

Re: v11 and the new required file (icu*.dat)

Post by zarkogajic »

Hi Vasyl,

Maybe a misunderstanding.

I'm asking if I can change the required location of the "common" folder or the "resources.dat".

-žarko
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2488
Joined: Thu Jun 30, 2005 4:11 pm

Re: v11 and the new required file (icu*.dat)

Post by Vasyl - PDF-XChange »

Yes, seems I misunderstood you. :(

No, at the moment you cannot change it. But in the future, we may consider adding this possibility.
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
zarkogajic
User
Posts: 1549
Joined: Thu Sep 05, 2019 12:35 pm

Re: v11 and the new required file (icu*.dat)  SOLVED

Post by zarkogajic »

Hi Vasyl,

Thanks, please do :)

-žarko
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 12790
Joined: Wed Jan 03, 2018 6:52 pm

v11 and the new required file (icu*.dat)

Post by Daniel - PDF-XChange »

:)
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
[email protected]