SAP Knowledge Base Article - Preview

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


  • 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



SAP PowerBuilder 12.6 (PB)


SAP PowerBuilder 12.6


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.