Hello,

HB_Uncompress() gives me a GPF when running this small test:

//---------------------------------------------------------------//
PROCEDURE Main()

   LOCAL cText,cCompressed,nBuf

   cText:=MemoRead("Logo.bmp")

   nBuf:=HB_CompressBuflen( Len( cText ) )
   cCompressed:=HB_Compress( cText )

   HB_Uncompress( nBuf, cCompressed ) // GPF

RETURN
//---------------------------------------------------------------//

The LOGO.BMP can be downloaded here :
http://www.xHarbour.net/Logo.zip
Its a regular BMP file

First of all.. Do I use the HB_Compress and HB_Uncompress the right
way? And if so, can we fix this GPF?
Thanks!

Patrick

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to