1. Roland Smith
  2. PowerBuilder
  3. Wednesday, 26 January 2022 21:07 PM UTC

I am working on using EPPlus C# assembly for Excel from PowerBuilder. I am doing it with PB 2021 for now until we move to PB 2019-R3. Then I can move the code into the main application.

I wrote a wrapper assembly in C# to make it easier to work with from PowerBuilder. Works great except for one problem.

The assembly becomes locked after using it. I have to exit PowerBuilder before I can copy the newest DLL into the folder where my PB app loads it.

Is this a bug or am I missing something?

 

 
Steen Jakobsen Accepted Answer Pending Moderation
  1. Thursday, 23 May 2024 13:37 PM UTC
  2. PowerBuilder
  3. # 1

I have the same issue too.

Comment
  1. Miguel Leeuwe
  2. Thursday, 23 May 2024 14:04 PM UTC
Same here and I think it was reported quite some time ago.
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 21 May 2024 21:01 PM UTC
  2. PowerBuilder
  3. # 2

Hi Roland / Tim;

  Are you using  ...

For example: lnv_Assembly.LoadWithDotNetFramework ("<MyDotNet>.dll", true)

Regards .. Chris

Comment
  1. Francisco Martinez @Appeon
  2. Tuesday, 21 May 2024 21:15 PM UTC
That's only for .NET Framework binaries. I believe I submitted an enhancement request asking for the same parameter to be added to LoadWithDotNet
  1. Helpful
  1. Roland Smith
  2. Wednesday, 22 May 2024 12:11 PM UTC
We were on an early version of 2019 so ended up making the wrapper COM aware and calling it that way. We skipped over 2019-R3 and moved to 2022 but didn't update the code.
  1. Helpful
There are no comments made yet.
Tim Rehder Accepted Answer Pending Moderation
  1. Monday, 20 May 2024 17:11 PM UTC
  2. PowerBuilder
  3. # 3

Hi Roland,

I am currently experiencing the same issue. Have you ever found a solution to this problem?

Regards, Tim

Comment
  1. Roland Smith
  2. Monday, 20 May 2024 17:46 PM UTC
I don't remember. I haven't had to touch this code since and this is the only C# we are using from PB.
  1. Helpful
There are no comments made yet.
Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 26 January 2022 21:14 PM UTC
  2. PowerBuilder
  3. # 4

Hi Roland,

This is a known issue. I suggest you submit a support ticket about this so it can be properly tracked.

Regards,
Francisco

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.