Discussions tagged PBNI

Hi, My starting point is that I  have created a .DLL which I call from the application, running x64-bit mode. In my development PC (Win11) everything works fine, when running the application either from the PB IDE or standalone from a separate fold...
Update: Bug is fixed with PB 2022 R2. pbx 64bit works fine again.   Hi, We have been using Bruce Armstrong's version of the PBNI SMTP module for a number of years and have just started migrating from PB 2021 to PB 2022 (1900). The 32 bit version ...
We are using PB2019 R3 and need to call a function in a running powerbuilder application from a C# program.   Is there a way to use PBNI for this or should we try some windows messaging approach?   Thanks in advance for assistance in this. /Joak...
Dear experts, As my first pbni attempt, created pbni nvo pbadd as given in pbni example. The object was created using win32 option in Visual studio 2019. The object could be imported as pb extension and it displays the function f_add(). If we click ...
Hi,   I am using PBNI SMTP control from Roland Smith - Topwiz. I have problem sending email through Office365 SMTP server. Could someone tell which are correct parameters for Connection type and Authentication type? I would like to authenticate w...
Hello, PB 2021.1288 I have issue with PBNI SMTP control from Topwiz, Roland Smith. If I select to send email as HTML my attachment is not attached to mail. Receiver gets email where in the body is added name of file which should be attached but no...
I'm using PowerBuilder 2019 R3 and the documents are way outdated and only allow for Visual Studio 8.0 and below and the code examples lead you to 404 page not found.  We have the PB as a frontend but need to communicate with COBOL programs that are ...
Hello, In my company we have several PowerBuilder programs that use PBNI (PowerBuilder Native Interface) with libraries written in C ++. The programs are currently compiled in 32-bit. It is possible to compile in 64-bit without losing PBNI functiona...
Hello All, I'm working my way through the PBNI Programmers Guide, as our company could benefit from some of the PBNI's functionality for testing purposes - notably the PBNI's capability to create and manipulate objects dynamically. I was particular...
Hello, I want to call powerbuilder code from Java and all my research lead to PBNI features. Unfortunatly, it's not so simple to build JNA or JNI mapping to call the PBVM.dll. It's look like an example (java2pb2) existed in the old codeexchange at...
Let n_pbni denote a non-visual object exported by a PBNI-Extension and let n_derived denote a class that was inherited from n_pbni. Assume that n_derived's constructor and destructor are implemented and reference global variables that are part of the...
Hi, I'm creating a PBNI using the SDK and C. I would like to know how I can create a multi dimensional pbarray and set it's values. I have a single dimension array working fine but can't figure out what to create a 2 dimensional pbarray. pbarray sg...
Downloaded R3 trial version and tried to compile Kodigo OpenExplorer from below SF link. https://sourceforge.net/projects/kodigo/ Re-compiled canvas.pbx using VS2015 and PBNI libs from PB2017 R3, imported the PBX in the PBL , removed fcxpbni.pbd an...
Hi,   We have a powerbuilder application calling a webservice. This is deployed to a citrix-environment. In the citrix-environment we get the error "Error calling method of a PBNI object" when trying to get the information from a SOAP exception. I...
Hello, All! First, this is not critical. I am in the exploratory stage, only, and open to looking at other solutions to my problem. My PowerBuilder application needs to do (potentially) thousands of concatenations to a single string variable. True ...
Hi, I use PBNI class and  try to call GetItemNumber/GetItemDecimal methods of some transferred to c++ DataWindow object reference/ All works just fine until DataWindow's numeric cell contains NULL value. In this case PB crashed when session->I...
Hi all, I am having an issue with PBNISMTP in PB2017. The same code works fine in PB12.0 - in the same environment (running on the same machine, using same email server etc…). The issue occurs in both the 2017 IDE and EXE. As far as I can tell ...
I have been trying to use PBNISMTP (http://www.topwizprogramming.com/pbnismtp.html) in PB2017. When I try to import 64 bit .pbx, it fails with an error. "The file is not a valid dll or pbx file". 32 bit pbx imports fine. Any ideas? Help!  Thanks! ...
Hi, We are using PBNI to connect to a local JVM and create Java instances (using the javavm and ejbconnection PB objects) for a module in our PB app.  We are currently using the 32 bit JVM (Java 1.8) and all is working fine. I believe that now ...
Greetings All, Previously posted this about a month ago. We recently upgraded to PB2017 from PB12.6.  We are having issues with pbnismtp. I created a new library and imported the pbnismtp126.pbx file and compiled a pbd.  I added the new pbd an...
  • Page :
  • 1