SysFreeString - Is the memory mine to use as I please ?
- From: "R.Wieser" <address@xxxxxxxxxxxxx>
- Date: Tue, 31 Oct 2006 11:12:47 +0100
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
.
- Prev by Date: Re: undestroyable process
- Next by Date: Re: undestroyable process
- Previous by thread: Re: Getting subnet mask with GetAdaptersAddresses
- Index(es):