Discussions tagged DLL
Calling C# class dll in powerbuilder
- New
- Issue
- Last updated 1 day ago
- Miguel Leeuwe replied 1 day ago
Hi Team,We have a requirement to modify the printer settings, earlier tried calling WIN API from powerbuilder but for some reason it got failed, so decided to create a C# dll and to call it.The C# dll works as expected and tested using console app. I...
CONNECTTONEWOBJECT return -3 in pb2022 . But in pb105 work fine.
- Resolved
- Issue
- Last updated 2 weeks ago
- Fabio Pontel replied 1 week ago
I have the same source code in pb10.5 and pb2022, both compiled in 32-bit.
In pb105, using the command CONNECTTONEWOBJECT("classolecomNONONONO") works.
However, in pb2022 it always returns -3.
What is the cause? How can I solve it?...
Create a powerbuilder .dll (64 bit) with exposed classes and methods
- How-to
- Last updated 2 months ago
- Mattia Matiz replied 2 months ago
Hi everyone, as the title says, I'd like to know if there's a way to create a Powerbuilder registrable .dll with exposed classes and methods and being able to reuse themin a Java environment.We would use the .dll to generate PDFs through powerbuilder...
PBOra.dll exposed functions- _ChangeExpiredPassword
- How-to
- Last updated 3 months ago
- Chris Pollach @Appeon replied 3 months ago
Hello,
In digging through my code we have a function that is identified as:
FUNCTION int OCIChangePassword(ref string ls_connString, ref string ls_user, ref string ls_old, ref string ls_new, ref string ls_errString, Uint li_outputsize ) & LIBRA...
Hello Appeon Support,
We have a large thick-client PowerBuilder application, written many years ago, that our Security Team have raised a risk against.
The risk is “DLL Hijacking”
This application is built and deployed as 1 x Exe + numero...
Hi,
My starting point is that I have created a .DLL which I call from the application, running x64-bit mode.
In my development PC (Win11) everything works fine, when running the application either from the PB IDE or standalone from a separate fold...
C:\pb190t\build\unicode\DrawEx.dll
- Resolved
- Issue
- Last updated 9 months ago
- Andreas Mykonios replied 9 months ago
Hi!
I've had a security audit of the app we've made with PowerBuilder 2019.In that audit an issue came up with the app trying to call C:\pb190t\build\unicode\DrawEx.dll.To avoid dll hijacking the dll should be placed in the same folder as the app.
...
Hello everyone, I am running my app on the client PC and I am getting the following error in the following code segment: function: of_printdlg,
Code:
32 long ll_hwnd
34 ll_hwnd = handle (aw_obj)35 if ll_hwnd = 0 then36 return -137 end if
39 retur...
error while consuming imported .Net DLL
- Issue
- Last updated 11 months ago
- Miguel Leeuwe replied 11 months ago
Imported a .Net DLL and while consuming I am getting below error!PowerBuilder 2022 R3...
The assembly binding is not working with .NET Dll import. Any suggestions for this?
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6ae...
The dll has the dependency with System.Data.SqlClient namespace is not getting imported through .NET DLL Importer and getting below error message. Could you help us to fix the issue?
...
Hi
I have been using an Oleobject to use a C# DLL that signs XMLs required in Latin America, for invoicing. In the specific case using XADES-EPES.
The PB code looks like: li_rc = loo.ConnectToNewObject("CFeldan_FE.ClassMain"). With the try catch,...
Hello,I'm a bit stuck, google didn't deliver as good as it usually do this time around.I'm looking for a VERY easy and quick way to resize images from ex. 4k 8MB files to around 2-300 Kb files (let's say 72 dpi 1080p). Imagine doing this for common f...
PowerServer 2022 external manifest error message
- Resolved
- How-to
- Last updated 1 year ago
- Logan Liu @Appeon replied 1 year ago
We are deploying a Powerserver 2022 application to a web server. The application uses DLLs. We added in the manifest file as loadmax_cloud.exe.manifest so Windows can associate DLLs with the executable, but we are getting the following error message ...
We've converting our backend system from MF COBOL 32 bit to Veryant 64 bit. When we try to run with the 64 bit PB, 64 bit Veryant and 64 bit DLLs we get the "Error opening DLL" message. The DLL is wrapped for Veryant and the person responsible for ...
Are there libraries available to restrict specific password in power builder?
- Misc
- Last updated 2 years ago
- Olan Knight replied 2 years ago
Hello, Are there any libraries available in PowerBuilder/PowerClient to restrict specific passwords like Names/Surnames/company id’s/ dictionary words/guessable words from being used in used? Thanks....
PB 19 app generating Error 14 when printing - pbvm80u.dll
- Issue
- Last updated 2 years ago
- Chris Pollach @Appeon replied 2 years ago
We recently migrated a 32 bit PB 8 app to 64 bit PB 19. Everything is looking good except for printing. The app generates "Error Number 14. Error opening DLL library pbvm80u.dll for external function...."
I have done a search on the error and it loo...
Migration from PB2017 to PB2021 - coolmenu.dll not compatible.
- How-to
- Last updated 2 years ago
- Aart Onkenhout replied 2 years ago
Greetings
We are currently migrating from PB2017 to PB2021 and we have a software in production with multiple clients that stood with us for several years, it is critical to keep the library coolmenu.dll until we get enough time to refactorize it to...
Are these prerequisites still needed?
- Resolved
- Advice
- Last updated 2 years ago
- Tracy Lamb replied 2 years ago
Hi all,
I've always had to install a few dll's to get the runtime to work... and still do it out of a 20-year habit!
ATL100.dllMSVCP100.dllMSVCR100.dll
I'm wondering if those dll files are needed? I'm developing with PB 2019 R3 Build 2728. I used...
Hello,
I've followed Bruce's demo about the .NET importer. He says that it's possible to debug the C# assembly. But I have no idea how.
So:
Created DLL in SnapDevelop and published it as Debug config.
Imported DLL in PowerBuilder and written s...
- Page :
- 1