Symptom
When calling a function in a .NET assembly that is returning a structure array, PowerBuilder .NET 12.6 returns the following error:
An exception of type 'System.InvalidCastException' occurred in wpfapp_usingcom.exe but
was not handled in user code
Additional information: Unable to cast object of type
'Sybase.PowerBuilder.PBAny' to type 'Sybase.PowerBuilder.PBOleObject'
Read more...
Environment
- SAP PowerBuilder 12.6
Product
SAP PowerBuilder 12.6
Keywords
System.InvalidCastException,Sybase.PowerBuilder.PBAny,Sybase.PowerBuilder.PBOleObject,pb,powerbuilder,.net,framework , 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 for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview