Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. csharpest

    IntPtr and Marshal.FreeCoTaskMem()

    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...

Part and Inventory Search

Back
Top