SysFreeString - Is the memory mine to use as I please ?



Hello All,

I'm working at some code communicating with an ActiveX-component, and get
Wide-char results in a string that I have to discard using "SysFreeMemory".

As I want to convert that wide-char string to a simple ASCII first I have
two questions :

1) Am I allowed to do the Wide-char to ASCII conversion in-place ? In
other words : is the memory that Wide-char is placed in mine to do with as I
please ?

2) How is SysFreeMemory different from Local/GlobalFree. I suspect it has
got something to do with who actually "owns" the memory, but I'm not at all
sure.

Regards,
Rudy Wieser



.