2368411 - Failed to pass a control handle to an ActiveX using longPtr datatype - SAP PowerBuilder | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2368411 - Failed to pass a control handle to an ActiveX using longPtr datatype - SAP PowerBuilder

Symptom

  • You use an ActiveX with a method having a control handle as an argument.
  • You use handle (graphicobject) to pass the control handle to the ActiveX method.
  • In PB 12.6, the handle() function returns a new datatype longPtr. It used to return long datatype in previous versions.
  • Now passing the longPtr to the ActiveX method causes an OleRuntimeError in PowerBuilder

Read more...

Environment

SAP PowerBuilder 12.6 (PB)

Product

SAP PowerBuilder 12.6

Keywords

CR802097, 802097 , KBA , BC-SYB-PB , Powerbuilder , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.