Discussions tagged .NET Assembly
Heyo,
in one of our applications we use a .net dll for a variety of functions. We use PowerBuilder 22R2, the dll is imported with the .net dll importer.
Is there any way to hide the dll? For example to include it in the compiled exe so it doesn't ...
In the older PB 2019 version I had made a web assembly dll that I deployed into a asp.net app where I could expose the powerbuilder app functions I wanted to . How do I do this in PB 2022 R3 ?...
dll assembly works with Runtime 22.1.0.2819 but fails to load with Runtime 22.2.0.3356
- Issue
- Last updated 8 months ago
- John Fauss replied 8 months ago
We have a dll compiled targeting .NET 6.0 and imported using .NET DLL Importer.
In the same Windows Server 2019 we have installed Runtime 22.1.0.2819 and Runtime 22.2.0.3356.
The application compiled using autobuild works as intended using 22.1....
PowerBuilder App 2019 Sometimes Crashes When Running From 2022
- Issue
- Last updated 8 months ago
- Jeremy Vetter replied 6 months ago
I have a PowerBuilder app runs fine in production when compiled with 2019. We are trying to move to 2022 but that app starts but after hitting a button in one of the windows it crashes. We can resolve this by regenerating one of the objects. After...
Generación DLL para consumo en aplicaciones .NET
- Resolved
- How-to
- Last updated 9 months ago
- Jean Pierre Chavez Vicente replied 9 months ago
En el Power Builder 2022 R3 como puedo generar una DLL para que sean consumidos en aplicaciones .NET ?
...
How does one actually do this? ... I followed the instructions in the help file, and SnapDevelop opens with the debug window when debugging, but the window itself doesn't give any information beyond what components loaded. The code file doesn't open,...
Problem description:When using the RegisterObject command according to the sample example from Help, it reportsRegisterObject function reports error -5 - DotNetObject is not instantiated.However, from the sample in the attachment, it is clear that th...
Obfuscate Code in Snapdevelop
- How-to
- Last updated 1 year ago
- Armeen Mazda @Appeon replied 1 year ago
Which tool or extension is recommended by Appeon to obfuscate source code (Net Assembly) using Snapdevelop?...
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,...
Alternatives for AppeonDotNetComponent
- How-to
- Last updated 1 year ago
- Mike Kolenda replied 1 year ago
We are working on migrating our PowerBuilder code to utilize PowerServer 2022 and we've identified that most of the methods/objects in Appeon_Workarounds.pbl no longer work. One of these is the AppeonDotNetComponent.
We utilize the AppeonDotNetCom...
.NET DLL Importer question regarding passing in PB structures
- Issue
- Last updated 1 year ago
- Donald Clayton replied 1 year ago
At Intertech we're trying to use the .NET DLL importer, wehave a structure defined in PowerBuilder called columninfo which has four elements: a_name (string), s_dbname(string), l_columnidsource (long), and l_columnidtarget (long). So the structure h...
PB 2022 Migration - Error when running DotNetAssembly.CreateInstance()
- Resolved
- Issue
- Last updated 2 years ago
- Ben Slater replied 1 year ago
After migrating to PB 2022 from 2021, we are unable to create an instance of a .net class when running DotNetAssembly.CreateInstance() method. It's failing with error: "Bad runtime function reference" but all referenced dlls look good. This is failin...
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...
.Net Assembly required DLLs not found
- Resolved
- How-to
- Last updated 2 years ago
- Mark Lee @Appeon replied 2 years ago
Dear Support Team,
I have created the .Net Assembly project in Power Builder which will generate the DLL as an output and same DLL I am referencing in my another .Net Program. In my Power Builder .Net Assembly project I have used the DataStore to lo...
How to set Runtime folder path for the Assembly project?
- Resolved
- How-to
- Last updated 2 years ago
- Mark Lee @Appeon replied 2 years ago
Dear Support Team,
Can I set the Runtime folder path for the Assembly (dll file created using Power Builder)? The way we are setting the Runtime folder path in XML file for the EXE project.
Thanks & Regards,
Hiren Lad...
Possible to import events with the .NET dll importer
- Resolved
- How-to
- Last updated 2 years ago
- Chris Pollach @Appeon replied 2 years ago
Is it possible to have events, not just methods, come from a .NET assembly into the PowerBuilder nvo when using the .NET dll imported in PowerBuilder 2019 R3? Or failing that, react to events that are raised from the .NET assembly in PowerBuilder in ...
call .net assembly winform error need setcompatibletextrenderingdefault
- How-to
- Last updated 2 years ago
- Chris Pollach @Appeon replied 2 years ago
When i call a .net assembly which has a winform window , powerbuilder 2021 trigger a error, error message remind me must call setcompatibletextrenderingdefault first, but how to setcompatibletextrenderingdefault ? please help me!!...
How to Deploy .Net Assembly along with Power Builder Exe
- Resolved
- How-to
- Last updated 2 years ago
- Armeen Mazda @Appeon replied 2 years ago
Dear Support Team,
I have created Power Builder application which generates the Exe as an output. In my project I have added .Net dll which have the functions and that I am calling in Power Builder application. Everything working fine in my developm...
- Page :
- 1