Discussions tagged PBNI
Compiling PBNI and using pbx2pbd
- Resolved
- How-to
- Last updated 5 months ago
- Roland Smith replied 5 months ago
Hi,
I have a PBNI/WPF external component and my target is x64 (no need to support x32) environment. Using PB2022R3, build 3356 and Visual studio to create the component..
Then I use pbx2pbd220 to get the PBD from the PBX.
My question is, compilin...
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...
MAIL PBNISMTP issue in PB 2022 x64 (Bruce + Roland)
- Resolved
- Issue
- Last updated 1 year ago
- Alexander Busch replied 1 year ago
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 ...
Opening window in running powerbuilder application fron C#
- Resolved
- How-to
- Last updated 1 year ago
- mike S replied 1 year ago
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...
PBNI Extensions to call Java classes
- How-to
- Last updated 3 years ago
- Roland Smith replied 3 years ago
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 ...
use PBNI in a 64-bit powerbuilder program (compiled)?
- How-to
- Last updated 3 years ago
- Service Dev replied 3 years ago
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...
Starting a PB-Application from c++ via the PBNI
- Issue
- Last updated 3 years ago
- Roland Smith replied 3 years ago
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...
User Object Painter failing on object inherited from PBNI extension
- Misc
- Last updated 4 years ago
- Chris Heale replied 4 years ago
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...
PB 2017 R3 1880 winAPI structure issues
- Issue
- Last updated 5 years ago
- Roland Smith replied 5 years ago
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...
Error calling method of a PBNI object
- Resolved
- Issue
- Last updated 6 years ago
- Joakim Krook replied 6 years ago
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...
Mutable String Type Needed - PBNI C++ Possibility?
- Resolved
- How-to
- Last updated 6 years ago
- Chris Pollach @Appeon replied 6 years ago
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 ...
PBNISMTP - PB2017 - 64 bit issue
- Resolved
- Issue
- Last updated 7 years ago
- Govinda Lopez @Appeon replied 7 years ago
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 ...
- Page :
- 1