SAP Knowledge Base Article - Preview

2359612 - LongPtr datatype not working in an OLE call using a control handle as parameter SAP PowerBuilder


In earlier versions, handle (graphicobject) returns a long datatype. In PB 12.6, it returns a LongPtr datatype.
This new behaviour introduces problems for customers in some situations like :

  • When calling a method of an ActiveX OLE which use a control handle as parameter.
  • When passing a control handle to an external function which has a control handle as parameter.
  • When using this datatype in an embedded SQL.



PowerBuilder 12.6 (PB) build 4098.


SAP PowerBuilder 12.6


CR801376, 801376 , 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.