Discussions tagged C# Class Importer
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 3 months ago
- Mike Kolenda replied 3 months 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...
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 ...
Debugging C# code in SnapDevelop that was built in Visual Studio
- Resolved
- How-to
- Last updated 1 year ago
- Aron Cox replied 1 year ago
I have a set of C# code I am migrating from COM wrapped assemblies to be called directly from PowerBuilder 2019 R3 after using the C# Class Importer.
It seems to work very well, and the fact you can step into the SnapDevelop debugger from PowerScrip...
C# class importer: Future enahancements?
- How-to
- Last updated 1 year ago
- Armeen Mazda @Appeon replied 1 year ago
At the moment I have had to change my COM wrapped C# code to return JSON strings in order to call it the new way in PowerBuilder 2019 R3. This works well, but extrating the results from the returned JSON is a pain. I feel like I heard someone say the...
C# Migration question about the nonvisualobject class in PB
- Advice
- Last updated 3 years ago
- Logan Liu @Appeon replied 3 years ago
When using the PowerScript Migrator to migrate a nonvisual object inherited from the PB system class nonvisualobject, I observed that the C# class generated is inherited from object (i.e., not inherited from anything). Which begs the question, has ...
Hi all
One of the features I like most about PB19 R2 is the support .net assemblies. The C# class importer is a very useful tool.
I noticed that C# events are not yet supported. The message I am receiving is "Delegate classes are not supported".
...
- Page :
- 1