1. yakov werde
  2. PowerBuilder
  3. Monday, 26 August 2019 15:04 PM UTC

Hello

If several different strong named assembly releases are deployed into the GAC (e.g. 

Sybase.powerbuilder.core

     v4.0_17.0.0.0_12345897d75b

     v4.0_19.0.0.0_65789084e76b

)

or in our case OLF.Agtech.Shared  etc..

How can we specify a specific release of the service on lookup?

for example

connecttonewobject('OLF.SmartSoft.Shared.Wrappers.EncryptionWrapper') is a far as we can specify?

We need to guarantee that we can get a specific release functionality when multiple releases might be present in the GAC

Yakov Werde

Sr Dev

OpenLink Financial Agtech division

Roland Smith Accepted Answer Pending Moderation
  1. Monday, 26 August 2019 17:02 PM UTC
  2. PowerBuilder
  3. # 1

In Regedit find the following:

HKEY_CLASSES_ROOT\Msxml2.XMLHTTP

Under that is CurVer which has the default version of Msxml2.XMLHTTP. You should also see Msxml2.XMLHTTP.3.0, Msxml2.XMLHTTP.4.0, and Msxml2.XMLHTTP.6.0.

When you connect from PowerBuilder you can specify the version:

oleHTTP = CREATE OLEObject
li_rc = oleHTTP.ConnectToNewObject("Msxml2.XMLHTTP.6.0")

Or you can go with the default:

oleHTTP = CREATE OLEObject
li_rc = oleHTTP.ConnectToNewObject("Msxml2.XMLHTTP")

 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.