Discussions tagged External Functions
PowerServer and calling overloaded database functions
- Resolved
- Advice
- Last updated 1 year ago
- Kari Paukku replied 1 year ago
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 ...
PB2021 - Application resizes when calling EZTwain scan functions
- Issue
- Last updated 2 years ago
- Frank Turro replied 1 year ago
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...
compile error on reference arguments to eternal function.
- Resolved
- How-to
- Last updated 2 years ago
- John Fauss replied 2 years ago
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...
Custom Function - Return pbl name, datawindow name, last modified
- How-to
- Last updated 3 years ago
- John Fauss replied 3 years ago
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...
How to pass arrays to a C# dll ?
- Resolved
- How-to
- Last updated 4 years ago
- Christophe Feyte replied 4 years ago
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...
Error calling external dll function
- Resolved
- Issue
- Last updated 4 years ago
- John Fauss replied 4 years ago
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...
DLL accesed in runtime, not from PB IDE
- Resolved
- Advice
- Last updated 4 years ago
- Michael Kramer replied 4 years ago
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...
Can we use Dll's created in VC98 in Appeon PowerBuilder 2019?
- How-to
- Last updated 5 years ago
- Prasanth Kalivarapu replied 5 years ago
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...
Git integration with PB: API or other access to workspace Refresh and Git Commit?
- Advice
- Last updated 5 years ago
- Luke Chase replied 5 years ago
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...
Declare external object types
- Resolved
- How-to
- Last updated 6 years ago
- Tracy Lamb replied 6 years ago
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...
Odd Segments of Alias Part of External Function Definition
- How-to
- Last updated 6 years ago
- Arthur Hefti replied 6 years ago
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...
Strange problem with external functions
- Issue
- Last updated 6 years ago
- yakov werde replied 6 years ago
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...
Robert Giesecke unmanaged exports and structure and arrays
- Issue
- Last updated 6 years ago
- François Rossignol replied 6 years ago
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...
Cannot call C# function in PowerBuilder 2017 64bit
- Issue
- Last updated 7 years ago
- François Rossignol replied 7 years ago
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