• Jean-Paul Saman's avatar
    activex: Fix heap corrumption on Async event delivery · 9df2a843
    Jean-Paul Saman authored
    The heap corruption occured when events returned a value. Since the events cross COM boundaries,
    the values returned should be allocated in COM context too. Allocating the memory with CoMemTaskAlloc()
    should be used instead of new or malloc().
    9df2a843
main.cpp 12.6 KB