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 ?...
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....
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...
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...
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,...
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...
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...
  • Page :
  • 1