hi,
does the call to Marshal.FreeCoTaskMem(ptr) below cause a
problem if ptr was initialized to 0 and Marshal.AllocCoTaskMem(1024) never gets called? would it dealloate memory not belonged to ptr? i could have easily avoided this "potential" problem by using a flag to indicate whether memory...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.