[Gambas-devel] sig 11 with gb.compress

Kevin Fishburne kevinfishburne at ...590...
Sun Apr 14 07:22:41 CEST 2013


This code:

Public Function DecompressString(Data As String) As String

   ' Decompress and return passed string.

   ' General declarations.
   Dim c As New Uncompress

   ' Set compression type.
   c.Type = "bzlib2"

   ' Decompress and return data.
   Return c.String(Data)

End

crashes the second time it's run. It may be due to me not doing 
"c.Close" afterward, or it may be that I'm calling the function in the 
Return line (I'm still debugging it).

-- 
Kevin Fishburne
Eight Virtues
www: http://sales.eightvirtues.com
e-mail: sales at ...590...
phone: (770) 853-6271





More information about the Devel mailing list