SAP Knowledge Base Article - Preview

2114240 - Issues WIth Longptr Assertion Failure - SAP PB

Symptom

  • Application migrated from PB 12.5.2 to 12.6 with the following line of code in an inherited PictureButton Other event:

Mod(lparam, 256)

Compilation results in the following assertion failure:

---------------------------

Assertion Failure

---------------------------

Invalid type in cm_intrinsic_mod,

file cmintrin.cpp, line 2264

  • In PB 12.6, the parameters passed to the Other event have changed from Long to Longptr.   According to the PB 12.6 docs, the Longptr is the same as Long although there is a note that doing complex operations on longptr datatypes may not work. 

Read more...

Environment

SAP PowerBuilder 12.6

Product

SAP PowerBuilder 12.5 ; SAP PowerBuilder 12.6

Keywords

PowerBuilder, Power Builder, CR 776509, CR776509 , KBA , BC-SYB-PB , Powerbuilder , Bug Filed

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.