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 can't make it work with arrays and structures. For example in my VB.ne...
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 can't find it. It isn't in the Appeon 2017 documentation either. There...
  • Page :
  • 1