Registration-Free(Click-Once) manifest files

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

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.
Post Reply
visual approvals
User
Posts: 33
Joined: Wed Jul 10, 2013 6:29 pm

Registration-Free(Click-Once) manifest files

Post by visual approvals »

Hi Team,
I am using Registration-Free(Click-Once) Method to register the com files that is working fine with 32-bit, but I need it for 64-bit and I am stuck on what the details will be for mentioned below PDFXEditCore.x64.X.manifest file tags.

For PDFXEditCore.x64.dll

What the typelib => tlbid= will be?
And comClass => clsid= will be?

<file name ="PDFXEditCore.x64.dll">
<typelib
tlbid="{0AAFF38C-CB91-4424-A8B9-F8B504ACBE0C}"
version="1.0"
helpdir=""/>
<comClass
clsid="{973BF60B-4CC6-4be0-B408-3D80E07FC2E6}"
threadingModel="Apartment" />
<comClass
clsid="{A1149909-4EDC-4421-B9E5-E93C25A000A1}"
threadingModel="Apartment" />
</file>

Similarly please advise what the attributes and values will be for below ProxyStub for 64-bit.

<comInterfaceExternalProxyStub
name="IPXV_Inst"
iid="{D726366D-34D6-49fc-A341-7B84C54CCA3E}"
proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
baseInterface="{00000000-0000-0000-C000-000000000046}"
tlbid="{0AAFF38C-CB91-4424-A8B9-F8B504ACBE0C}" />

<comInterfaceExternalProxyStub
name="IPXV_Control"
iid="{71300D43-687F-436A-A699-2B37448D0803}"
proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
baseInterface="{00000000-0000-0000-C000-000000000046}"
tlbid="{0AAFF38C-CB91-4424-A8B9-F8B504ACBE0C}" />

Regards

Visual approvals
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17822
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Registration-Free(Click-Once) manifest files

Post by Tracker Supp-Stefan »

Hello visual approvals,

You should be able to find both manifests here:
https://sdkhelp.pdf-xchange.com/vi ... stribution

Kind regards,
Stefan
visual approvals
User
Posts: 33
Joined: Wed Jul 10, 2013 6:29 pm

Re: Registration-Free(Click-Once) manifest files

Post by visual approvals »

Thank you Stefan
The advice in the documentation appears to refer only to 32bit.
Where might I find advice regarding 64 bit?
Thanks
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8436
Joined: Wed Jan 03, 2018 6:52 pm

Re: Registration-Free(Click-Once) manifest files

Post by TrackerSupp-Daniel »

Hello, visual approvals

The article Stefan mentioned certainly details the 64-bit items as well as the 32-bit ones. Please take another look at it, note that each section offers the details, then dictates which file to use for each architecture, usually the first is 32-bit and the second is 64-bit, for example:
image.png
Kind regards,
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
visual approvals
User
Posts: 33
Joined: Wed Jul 10, 2013 6:29 pm

Re: Registration-Free(Click-Once) manifest files

Post by visual approvals »

Thank you for your update.
Unfortunately the actual code for the manifest refers to 32 bit

Are you advising that the id are the same for both 64 and 32

the following refers to 32 bit

<comInterfaceExternalProxyStub
name="IPXV_Inst"
iid="{D726366D-34D6-49fc-A341-7B84C54CCA3E}"
proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
baseInterface="{00000000-0000-0000-C000-000000000046}"
tlbid="{0AAFF38C-CB91-4424-A8B9-F8B504ACBE0C}" />

changing this to

<comInterfaceExternalProxyStub
name="IPXV_Inst"
iid="{D726366D-34D6-49fc-A341-7B84C54CCA3E}"
proxyStubClsid64="{00020424-0000-0000-C000-000000000046}"
baseInterface="{00000000-0000-0000-C000-000000000046}"
tlbid="{0AAFF38C-CB91-4424-A8B9-F8B504ACBE0C}" />

seems not to work


image.png
User avatar
Roman - Tracker Supp
Site Admin
Posts: 303
Joined: Sun Nov 21, 2004 3:19 pm

Re: Registration-Free(Click-Once) manifest files

Post by Roman - Tracker Supp »

Hello, visual approvals,

Actually interface registration sections are not required as the Editor interfaces are not designed to be marshallable.

So this PDFXEditCore.x64.X.manifest should work for you:

Code: Select all

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
	<assemblyIdentity
		type="win32"
		name="PDFXEditCore.x64.X"
		version="1.0.0.0" />

	<file name = "PDFXEditCore.x64.dll">
		<comClass
			clsid="{973BF60B-4CC6-4be0-B408-3D80E07FC2E6}"
			threadingModel="Apartment" />
        
		<comClass
			clsid="{A1149909-4EDC-4421-B9E5-E93C25A000A1}"
			threadingModel="Apartment" />
	</file>
</assembly>
Please make sure your application manifest (either internal or external) contains the corresponding dependency section:

Code: Select all

	<dependency>
		<dependentAssembly>
			<assemblyIdentity type="win32" name="PDFXEditCore.x64.X" version="1.0.0.0" />
		</dependentAssembly>
	</dependency>	
Post Reply