Discussions tagged .NET Assembly

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...
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...
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...
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...
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...
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 ...
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!!...
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...
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...
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...
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 ...
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...
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....
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 ...
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...
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...
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...
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...
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