Discussions tagged .NET Assembly
.NET DLL Importer question regarding passing in PB structures
- New
- Issue
- Last updated 6 days ago
- Donald Clayton replied 6 days 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 8 months ago
- Ben Slater replied 6 days 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 11 months ago
- John Fauss replied 11 months 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 1 year ago
- Mark Lee @Appeon replied 1 year 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 1 year ago
- Mark Lee @Appeon replied 1 year 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 1 year ago
- Chris Pollach @Appeon replied 1 year 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 1 year ago
- Chris Pollach @Appeon replied 1 year 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 1 year ago
- Armeen Mazda @Appeon replied 1 year 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...
Calling a .NET Assembly with interface in constructor
- How-to
- Last updated 1 year ago
- Armeen Mazda @Appeon replied 1 year ago
Hi,
As far as I can see from the documentation, it is not supported to use .Net interfaces.
Calling a .Net assembly seems straightforward, but is it possible to call a .Net Assembly which has an interface in the constructor?
Example of class
nam...
.NET Assembly - parameters arrays are supported or unsupported?
- How-to
- Last updated 1 year ago
- Petr Czerny replied 1 year ago
I try call .net function (copy form PB help Calling .NET Assembly in an Application) imported by .NET DLL Importer
//array argument
public void TestByteArray(byte[] bArray)
{
for(int i = 0; i < bArray.Length; i...
Powerbuilder .NET importer - complex data types
- How-to
- Last updated 1 year ago
- Miguel Leeuwe replied 1 year ago
Hello, all
I am pretty sure I already know the answer to this, but now with PB 2021 is out I shall give it a hail Mary...
Given: PB Classic desktop app, has to consume multiple .NET classes for external communications and other purposes.
All .NET ...
.NET DLL using an assembly from a network location
- Resolved
- How-to
- Last updated 1 year ago
- Miguel Leeuwe replied 1 year ago
Hi,
I'm using Powerbuilder 2019 R2 and import a .NET Framework DLL 4.6 (Created Custom), encapsulate the dotnetassembly in the dotnet object as recommended.
When I run the program on the server side, i'm getting this error (Locally, i don't have...
Using Powerbuilder 2019 R2 and looking for some help with building an application that uses imported .Net Dll's. We have installed the standalone compiler on a Jenkins server and have been successfully building applications there for the past few mo...
webservice multiple accounts hitting server
- Issue
- Last updated 1 year ago
- Luke Monson replied 1 year ago
How does powerbuilder webservices application handle multiple requests at the same time. For example, does it use pooled connections or does it try to open a new connection for each thread....
Consuming ASP.Net web service in Pb 2019
- How-to
- Last updated 2 years ago
- Armeen Mazda @Appeon replied 2 years ago
Good day Everyone!
I am just a newbie in powerbuilder and I wanted to use PB 2019 on my project which requires webservice. I haven't done or try anything yet because I don't know where to start. I already created my web service using ASP.NET Web ...
.NET DLL importer and .NET assembly problem or limitation
- How-to
- Last updated 2 years ago
- TOMAZ KRALJ replied 2 years ago
Hello everyone!
Our company use NiceLabel product for printing labels. Product has option for integration with .NET API.
I just try to access .NET assembly SDK.NET.dll . I tried with .NET DLL importer but makes to many errors, so result is not usa...
Issue with using a homegrown C# dll with the appeon dot net component
- Resolved
- How-to
- Last updated 2 years ago
- Mark Lundell replied 2 years ago
I have a very small c# dll which is working on my localhost, a test server, and 1 of our 2 production servers. It is failing on our second production server. It is unable to load the dll or one of its components. The dll has been loaded into inetp...
C# Wrapper Import .Net DLL Tool
- Resolved
- How-to
- Last updated 2 years ago
- Andreas Mykonios replied 1 year ago
Hi Guys
I'm creating a simple wrapper for a .Net DLL in order to remove the complex return values. Using SnapDevelop I have created a simple C# Class Object that references the extrernal DLL. My C# Code is:
using System; using System.Collections.Ge...
Obfuscation for .NET Assemblies with .NET Datastores
- Resolved
- Advice
- Last updated 2 years ago
- Armeen Mazda @Appeon replied 2 years ago
Hi,
We plan to deploy .NET assemblies with .NET Datastores in the near future. The datastores were created using PB 2019 R2 build 2328, if that is relevant.
Does Appeon recommend any obfuscation tools? If not, has anyone had experience with such ut...
PB 2019 R2 - Deployment files to support .NET Datastores
- Resolved
- How-to
- Last updated 2 years ago
- armando herrera @Appeon replied 2 years ago
Hi,
Is there a documented list of runtime files required to support .NET assemblies containing .NET Datastore code? We have identified some of these (below).
DWNet.Data.dllSnapObjects.Data.dllSnapObjects.Data.Odbc.dllSnapObjects.Data.SqlServer.dllS...
- Page :
- 1