Is there a function in OA32 that frees a string allocated with the StrAlloc function?
The closest thing I found was StrDispose, but according to the documentation, it frees strings allocated with StrNew.
Posted on 2006-04-22 18:00:49 by rags
StrAlloc has been removed from the latest version:

;          Version 1.0.2, May 2005
;            - StrAlloc and StrFree removed, by K. Usanov. Use BStrAlloc and BStrDispose procs.

Posted on 2006-04-22 19:49:16 by Synfire
Hi Rags
To free the memory allocated by StrAlloc, StrNew or StrLNew use StrDispose in all cases.
I updated the documentation file to reflect it. Thanks!

The comment of K.Usanov refers only for BSTR. In the last version, the procedures for those strings were corrected to fit to them of ANSI strings.


Posted on 2006-04-23 00:41:37 by Biterider
Thanks Biterider :)
Posted on 2006-04-25 08:36:31 by rags