- John Fauss
- PowerBuilder
- Friday, 24 January 2020 10:13 PM UTC
Does anyone have any advice, tips, C++ source for creating simple PBNI examples they are willing to share with the community?
The "pbadd" non-visual object example in the PowerBuilder Native Interface Programmers Guide and Reference publication compiles with multiple errors as it is listed and the Visual Studio wizards supplied in the PB SDK are woefully out of date (the most current wizard is for Visual Studio 2005 and do not work in Visual Studio Community 2017). With corrections to the example code, I'm able to get a clean compile of the pbadd example source and produce a DLL, then rename the extension to .PBX - But I get an error ("The string returned by function "GetDescription" has a syntax error.") when attempting to Import the extension into a PBL.
The PBNI publication states there are examples in the Appeon web site and supplies the URL (which is a valid URL), but a search from that page for anything relevant to PBNI turns up nothing. Ditto for a search in the PowerBuilder section of CodeXchange. I'm stymied.
Many thanks in advance!
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.