Discussions tagged External Functions

Hi,I'm using PB2022, build 1900 with Oracle 19 database. My question has to do with overloading and calling functions in a Oracle package. In native PB (Desktop) all works fine but with PowerServer there are issues.Here is my test case. The package ...
We are using EZTwain Pro 4 to interface with scanners connected directly to users desktops. Immediately after calling the scan function li_rtn = TWAIN_AcquireMultipageFile(0, ls_fullfilename) the application resizes itself, the title bar is partial...
I'm trying to call a simple dll function to measure a piece of text, to see if it will fit in a confined space without being clipped. I have defined an external DLL in C# and have linked it into the PB source using external function.   In my first...
I'm migrating a legacy application from PB8 to PB 2019R3.   The app makes use of a DLL called mnutil.dll that was written in-house in C many years ago. The PB8 version of the app works happily enough on Win 10 currently, but I'm having issues with t...
is there any existing function or functions that will return the current data window name, the pbl and the last modified date of the data window ? ...
  Hi everyone, I'm new to this community and haven't used PowerBuilder in my work for a while.   When deploying on 64bit I have a problem with the use of the external function "User32.dll" such as with the "getSubMenu" function which always...
Hello,We build a C# dll to use the SendInBlue's API (https://www.sendinblue.com/)We want to call the function from PowerBuilder 2019 build 2170.We pass as argument a string array that contains a list of recipients.When we check the contents of the ar...
1. We have a c++ dll compiled in CodeBlocks which has a function declared as below __declspec(dllexport) char * __cdecl vc_encrypt(char* vol, char* id); (MingGW compiler suffixes @8 to the function name when __stdcall is used in c++) 2. The functi...
Hi I had to make some changes to a C# DLL due to urgent modifications fron some security required accesing external APIs, after that, the same DLL when running the application from PB IDE responds with error -3.I also checked for the deployed applic...
Hi All Migrating PowerBuilder application developed in 7.0 to appeon PowerBuilder 2019. I am having trouble with Dll's declared and used in external variables by having a reference to a DLL developed in VC98 using C++ language.  What are the steps ...
How do I specify an external manifest file which defines Windows versions such that RtlGetVersion() recognizes Windows 10. I have an external manifest file with the following compatibility settings: This is so that when I call RtlGet...
We've purchased 13 licenses for PB 2017 R3 for our developers and are planning to use Git going forward. We have not migrated our applications from 12.5 to 17 R3 yet until our Git process has been refined and further developed. I've developed an ext...
I want to use Brother label printers to print labels.  How do I declare variables of the right type so I can use their interface (dll) file?  Here's their interface: b-PAC 3.2 API Reference This describes the classes, structures, shared objects, an...
  I am working with PowerBuilder 2017 Standard Edition Version 2017 Build 1666. Application has been in use with many enhancements for many years.  Some the of the External Function definitions have an entry in the alias element that I cannot find a...
I have an example app on my website that captures a control/window/screen to a bitmap blob so it can be written to a .bmp file or put in the clipboard. It works great in PB versions 8 through 12.5 but 12.6 and 2017 fail silently. I end up with a v...
Hi, In a previous question I found out about Robert Giesecke unmanaged exports which allows to call .net function from PB. I got it working with longs and strings but cant make it work with arrays and structures. For example in my VB.net dll...
I am using the trial version of PowerBuilder 2017.  In PowerBuilder 12.5 and PowerBuilder 2017 32bit I am able to call a C# function that has the Robert Giesecke “Unmanaged Exports” package.  In PowerBuilder 2017 64bit I am not able to call the C# fu...
In 12.6 SAP in their infinite wisdom changed the default byte alignment from 1 to 4 without telling anyone. Eventually it was explained somewhere on the SAP forum but I cant find it. It isnt in the Appeon 2017 documentation either. There is suppos...

Find Questions by Tag

.EXE .NET 6.0 .NET Assembly .NET Core 3.1 .NET Core Framework .NET DataStore .NET Std Framework 32-bit 64-bit ADO.NET AEM AI Algorithm Amazon AWS Android Apache API APK App Store App Store (Apple) Appeon Workspace Appeon Xcelerator Plug-in Architecture Array ASE Asynchronous Methods Authentication AutoBuild AutoCompiler Automated Testing Automation AutoScript Azure Barcode Base64 Batch BigData BLOB Branch & Merge Browser Bug Build Button C# C# Class Importer C# Editor C# Model generator Calendar Camera Certificate Chrome Citrix Class Client Client/Server Cloud Cluster Collection COM Command Line Compiler Compression Computed Field Configuration Controls Cookies Cordova Crash Cross-Platform Crosstab CSharpAssembly CSharpObject CSS CSV Cursor Data Database Database Driver Database Painter Database Profile Database Provider DataObject DataSource DataStore DataStore (C#) DataStore (PS) DataType DataWindow DATE DATETIME DB2 Debug Debugger Debugging Deployment Design DLL DO-WHILE Dockable Docker Documentation DOUBLE Download DragDrop Edge Edit Style Editor Elevate Conference Email Embedded SQL Emulator Encoding Encryption Enhancement Request Entity Entity Framework ERP Error Event Event Handler Event Handling Excel Exception Export Expression External Functions F# Field File File Access Filter Firefox Firewall Font FOR-NEXT Foreground Format Function Garbage Collection GeoLocation Git Graph HANA Hash Header HTML/5 HTTP/S HTTPClient Icon IDE Identity IIS IMAPI Import InfoMaker Inheritance Installation Integer IntelliSense Interface Internet Internet Explorer iOS IPA iPad iPhone IWA J# Java JavaScript JBoss JDBC JOIN JSON JSONGenerator JSONParser Kestrel Label Lambda Large File LDAP Library License LINQ Linux OS Load Balancing Localization Localized PBVM Log In Log Out Logging LONG LONGLONG macOS MAPI Maps MDI Memory Memory Leak Menu Merge MessageBox Messagging Method Migration MIME TYPE Mobile Model ModelStore ModelStore (C#) MSOLEDBSQL Multi Threading MVC MySQL n-Tier Namespace NativePDF NVO OAuth ODATA ODBC Office Offline OLE OLEDB Online Open Source OpenAPI OpenSSL Oracle OrcaScript Other Outlook Output Package Parameter Patch PayPal PB Classic PB Native PB.NET PBC PBD PBDOM PBG PBJVM PBL PBNI PBORCA PBVM PBX PDF Performance Permission PFC Picture Pipeline Play Store (Google) Plugin Popup Port POST PostgreSQL PowerBuilder PowerBuilder (Appeon) PowerBuilder (SAP) PowerBuilder Compiler PowerBuilder Runtime PowerClient PowerScript (PS) PowerScript IDE PowerScript Migrator PowerServer PowerServer Mobile PowerServer Toolkit PowerServer Web PowerServerLabel Print Properties Proxy Publish PULL PUSH Query Regression Release Renew Resize Response REST Retrieve RibbonBar RibbonBar Builder Rich Text Roadmap RPC Runtime Packager SaaS Scaffolding Script SDI SDK Security Server Service Session Single Sign-on Size SMTP SMTPClient SnapDevelop SOAP Sort Source Code Speech Recognition SQL SQL Anywhere SQL Server SqlBuilder SqlExecutor SQLite SqlModelMapper Storage Stored Procedure Subscription SVN Swagger Syntax TabbedBar TabbedView Tablet TabPage Target TE Control Testing Text TFS Theme TIME Timer TLS/SSL Tomcat TortoiseGit TortoiseSVN Transaction Transparency Trial Trigger TRY-CATCH TX Control Type UI ULONG UltraLite Uninstall Unit Test Unit Testing UNIX OS Update Upgrade Upload URL User Center User Object UWP Validation VARCHAR Variable Versioning Visual Studio Visual Studio Code VM Voice Warning WCF Web API Web Extensions Web Service WebBrowser WebForms WebLogic WebSphere WildFly WinAPI Window Windows OS WinForms Wizard Workgroup Workspace WPF XCODE XHTML XML Zoom