You need to be logged in to view a user's profile.
  1. Yakov Werde
  2. PowerBuilder
  3. Tuesday, 29 August 2017 18:26 PM UTC

Hello

Active X controls are bitness specific.  When supporting dual bitness there are two entries in two different registry sections

Placing an ActiveX on a windows form is 32 bit specific.  When deploying as 64, connecting to the control will fail.

The only (partial) solution is OLEObject and CreateNewObject( ) - Then dynamic function calls and property setting may be possible.  It is NOT possible to write code to handle custom control events.  Dynamic coding is murky because nothing is exposed.

Does Appeon have plans to remove this limitation and allow form based dual bitness custom ole controls?

Thanks

Yakov

Daniel Vivier Accepted Answer Pending Moderation
  1. Wednesday, 30 August 2017 03:43 AM UTC
  2. PowerBuilder
  3. # 1

Oh dear Yakov. My main app uses a version of Roland Smith's embedded WebBrowser control sample (http://www.topwizprogramming.com/freecode_webbrowser.html) for a mail-merge document editor and display feature. If there's no way to force a 64-bit version, I don't see how that could work within an Appeon Web application, which has to work in both 32-bit and 64-bit browsers, do you?

And for that matter with the ExternalException event not supported in Appeon Web, I don't see how potential errors in embedded ActiveX controls or OLEObjects can be handled at all. (We use a number of OLEObjects as well for various features.) Am I missing something?

Comment
  1. Daniel Vivier
  2. Wednesday, 30 August 2017 14:04 PM UTC
Mike S just pointed out to me in another thread that at least for the 32/64 bit OLE Control concern in Appeon Web apps, the solution is to use the IWA option (installable web app) to force the browser to be 32-bit. That doesn't resolve the problem for 64-bit PB apps, but I'm not yet clear when they would really be necessary.

  1. Helpful
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Tuesday, 29 August 2017 19:04 PM UTC
  2. PowerBuilder
  3. # 2

I would post a bug report. Maybe they can figure out a way for the 64bit exe to automatically choose the 64bit version.

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.