Highlighted
Jihong Trusted Contributor.
Trusted Contributor.
263 views

32bit .Net application compiled with SDK from 32bit CM install, interacting with 64bit CM9.3 client?

Jump to solution

Dear CM community,

We have a 32-bit vendor developed custom program that interacts with 32-bit CM9.3 client, via HP.HPTRIM.SDK.dll.

However our company is planning to move all desktop applications to 64-bit where possible, that includes CM9.3.

Would the existing 32-bit .Net application work with 64-bit CM9.3? Or would I need to engage the vendor to recompile?

Thanks in advance,

Jihong

Labels (1)
0 Likes
1 Solution

Accepted Solutions
Jamie Smith Super Contributor.
Super Contributor.

Re: 32bit .Net application compiled with SDK from 32bit CM install, interacting with 64bit CM9.3 cli

Jump to solution

No, a 32bit SDK application cannot use the runtime from a 64bit CM installation.  The vendor will need to recompile it for 64 bit.  This is generally pretty straightforward and shouldn't be too hard for them.

If the vendor can't recompile for 64 bit, it may be possible to copy(not install) the 32bit binaries from a 32bit installation to a machine where 64 bit CM is installed, and modify the vendor software to set the TRIM binaries path explicitly using the HP.HPTRIM.SDK.TrimApplicationBase.TrimBrinariesLoadPath property in the SDK to force it to use the 32bit runtime.  If this path isn't set, then the 32bit SDK program will only find the 64bit runtime, try to use that, and fail.

View solution in original post

2 Replies
Jamie Smith Super Contributor.
Super Contributor.

Re: 32bit .Net application compiled with SDK from 32bit CM install, interacting with 64bit CM9.3 cli

Jump to solution

No, a 32bit SDK application cannot use the runtime from a 64bit CM installation.  The vendor will need to recompile it for 64 bit.  This is generally pretty straightforward and shouldn't be too hard for them.

If the vendor can't recompile for 64 bit, it may be possible to copy(not install) the 32bit binaries from a 32bit installation to a machine where 64 bit CM is installed, and modify the vendor software to set the TRIM binaries path explicitly using the HP.HPTRIM.SDK.TrimApplicationBase.TrimBrinariesLoadPath property in the SDK to force it to use the 32bit runtime.  If this path isn't set, then the 32bit SDK program will only find the 64bit runtime, try to use that, and fail.

View solution in original post

Jihong Trusted Contributor.
Trusted Contributor.

Re: 32bit .Net application compiled with SDK from 32bit CM install, interacting with 64bit CM9.3 cli

Jump to solution

@Jamie Smith , thanks for the detailed explanation.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.