I'm sure I've asked this before and received vague/contradictory replies. Now that FlushMem has been deprecated, what needs to be done with ToCString and FromCString?
I assumed ( apparently wrongly ) that FromCString needed no action and that ToCString needed a MemFree call, but MemFree seems to mess up ( causes subsequent program execution not to occur even though the program doesn't stop ) when used with a Byte Ptr returned from a string's ToCString() method.
I assumed ( apparently wrongly ) that FromCString needed no action and that ToCString needed a MemFree call, but MemFree seems to mess up ( causes subsequent program execution not to occur even though the program doesn't stop ) when used with a Byte Ptr returned from a string's ToCString() method.