1. David Samudio Alfonso
  2. PowerBuilder
  3. Thursday, 23 November 2023 22:23 PM UTC

Hello everyone!!

I have this problem, I am using the ".NET Dll Importer" to use the classes of a dll, but in this case I have a class with the same name and 4 different types of arguments, and I only display one of them in the object, I have Also the case of some classes that do not matter to the PowerBuilder object.

The dll in question can be downloaded from here (https://www.dropbox.com/scl/fi/70ipr0f413vkfjkw74rwk/FusionClass.dll?rlkey=3tyd2pk8vpiish03dlw46b0b5&dl=0) and the event I want to use is GetSale and a class that does not appear is, for example, GetPumpsCount.

I tried to modify the class after using the DLL Importer, but I can't get it to work.

I use PB2022 r2 Build 2828

Thanks

References
  1. https://www.dropbox.com/scl/fi/70ipr0f413vkfjkw74rwk/FusionClass.dll?rlkey=3tyd2pk8vpiish03dlw46b0b5&dl=0
Accepted Answer
Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Thursday, 23 November 2023 22:32 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi David,

 

What target framework is the DLL compiled for?

Regards,
Francisco

Edit: Are these the functions you're looking for?


Comment
There are no comments made yet.
David Samudio Alfonso Accepted Answer Pending Moderation
  1. Thursday, 23 November 2023 22:51 PM UTC
  2. PowerBuilder
  3. # 1

Yeah!!! I don't know what I was doing wrong before, but now, when I expand all the classes and import the dll again, it now brings me all the classes.

Sorry for the inconvenience and thank you very much for everything!!

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.