Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

Error when trying to run pb2java example

$
0
0

I'm fairly new to powerbuilder, but when trying to get a PBNI to java example program running to get an understanding of the PBNI -> C++ -> JNI interface, I'm getting an error that i can't figure out. It should be noted that the example programs for PBNI to Java haven't been updated in nearly a decade and were written for PB9. The error message I get happens at the line i_jvm.createjavaobject(conv, "Converter", "converter") and results in the error message "Error: Error calling method of PBNI object".

 

PBNI Error.PNG

 

Does anyone have any working code examples of how to interface PowerBuilder -> Java or vice-versa? Thanks for the help!


Viewing all articles
Browse latest Browse all 2935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>