2184288 - PB .NET assembly - not finding dw object - SAP PB | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2184288 - PB .NET assembly - not finding dw object - SAP PB

Symptom

A Visual Studio 2012 WPF application calls a Visual Studio 2012 .NET assembly.  The
VS .NET  assembly calls a PowerBuilder .NET assembly and getting an error that it can't find the datawindow object.

From a process monitor log, it shows that PowerBuilder is searching for:
C:\MyTest\wpf_test\Debug\d_form_loan_mod.srd


If the Visual Studio WPF  application references the PowerBuilder .NET assembly, than it works ok:
For example, adding this line:
 test_assembly.n_test_assembly whyAmIHere = null;


The PowerBuilder .NET assembly contains 2 pbls.   One of the pbls contains the NonVisual Component and the
other pbl contains the datawindow object.


Read more...

Environment

  • SAP PowerBuilder 12.5.2
  • SAP PowerBuilder 12.6
  • Microsoft Visual Studio 2012

Product

SAP PowerBuilder all versions

Keywords

pb,powerbuilder,.net,vs,visual studio, wpf,datawindow,dw,dataobject, dll, CR785942, CR 785942 , 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.