SalStrCompress - SalStrUncompress error

forum.advanced.programming (1998-2005)
Philippe Belet

SalStrCompress - SalStrUncompress error

Post by Philippe Belet » 17 Mar 2005, 12:36

 Posted by:  Philippe Belet 

Hi everybody,

I'm using SalStrCompress to store a long string in an Oracle DB (long).
The problem that I'm having is that the compressed string, that is
saved in the DB isn't the same string as the original one after
SalStrUnCompress ?
The result after the uncompress is about half as long...

Any ideas ??

Thanks,
Phil.

Jeff Luther
Site Admin
Site Admin
United States of America
Posts: 2385
Joined: 04 Mar 2017, 18:34
Location: Palm Springs, California

Re: SalStrCompress - SalStrUncompress error

Post by Jeff Luther » 17 Mar 2005, 17:18

 Posted by:  Jeff Luther 

Find out what the value for the parameter LONGBUFFER is in your SQL.INI file.
That might be the problem. You can read about that parm. in, CCOD.PDF,
"Connecting Gupta Objects to Databases" There's a link on my page below to
the Gupta documents.

As a test, I would compress a Long String "about half as long" as the one
you have been testing, and see if it compresses and uncompresses ok. That
1/2 length value may be what LONGBUFFER is set to (?)

Best Regards,
Jeff Luther/PC Design
www.pulpcards.com/gupta/

Return to “advanced.programming”

Who is online

Users browsing this forum: [Ccbot] and 0 guests