Discussions tagged External Functions
How to pass arrays to a C# dll ?
- Resolved
- How-to
- Last updated 5 months ago
- Christophe Feyte replied 3 months 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 8 months ago
- John Fauss replied 8 months 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 10 months ago
- Michael Kramer replied 10 months 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 1 year ago
- Prasanth Kalivarapu replied 1 year 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 2 years ago
- Luke Chase replied 2 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 2 years ago
- Tracy Lamb replied 2 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 2 years ago
- Arthur Hefti replied 2 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 3 years ago
- yakov werde replied 3 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 3 years ago
- François Rossignol replied 3 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 3 years ago
- François Rossignol replied 3 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