1. Roland Smith
  2. PowerBuilder
  3. Saturday, 22 June 2019 02:27 AM UTC

I was looking at the new ExtractorObject in PB 2019. I found a use for it extracting a string from a blob that was GZip encoded by another non-PB program.

The problem is that I want to do the same in PB 2017.

I looked at the Windows Compression API but it doesn't appear to support GZip. I am wondering how the ExtractorObject works so it can be reproduced in PB 2017.

 

 

Roland Smith Accepted Answer Pending Moderation
  1. Monday, 24 June 2019 16:33 PM UTC
  2. PowerBuilder
  3. # 1

If this goes from a theoretical to a real requirement, I'll likely use my ZLib library.

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 24 June 2019 15:35 PM UTC
  2. PowerBuilder
  3. # 2

Hi Roland;

  Suggestion ... build a PB2019 App EXE that does this decompression and then call it from your PB2017 based App's or better yet .. upgrade to PB2019.

Regards ... Chris

Comment
There are no comments made yet.
Bruce Armstrong Accepted Answer Pending Moderation
  1. Sunday, 23 June 2019 20:36 PM UTC
  2. PowerBuilder
  3. # 3

I'm 90% confident that they're using the 7zip libraries under the covers.  FWIW, there's a 7zip package in Nuget that contains libraries for both C++ and C# projects.

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.