locked
Memory allocation in XP/ Vista 64 bit RRS feed

  • Question

  • When dynamically allocated memory is freed in Vista / XP 64 bit, it crashes my application. The same code works fine in 32 bit.
    Friday, April 17, 2009 5:03 AM

Answers

  • Probably heap corruption. Don't believe the bug doesn't exist when you build it for 32-bit. You're just lucky it doesn't crash.

    The best way of dealing with heap corruption is a careful code review.
    • Marked as answer by Wesley Yao Thursday, April 23, 2009 2:10 AM
    Friday, April 17, 2009 5:23 AM