none
C++ memory leaks RRS feed

  • Question

  • Is there any Visual C++(or any Win32 API) support available to detect memory leaks between function calls.

    For example:

    i have create & destroy API's for an application.

    create() - creates the instances.

    destroy() - destroys the instances.

    After calling Create() & destroy() API's, i just want to know if there are any memory leaks?

    Is there any API's support available to find the memory leaks?

    Monday, April 3, 2017 9:28 PM

All replies

  • Is there any Visual C++(or any Win32 API) support available to detect memory leaks

    Finding Memory Leaks Using the CRT Library
    https://msdn.microsoft.com/en-us/library/x98tx3cf(v=vs.140).aspx

    - Wayne

    • Proposed as answer by Baron Bi Wednesday, April 5, 2017 9:58 AM
    Monday, April 3, 2017 9:56 PM
  • Hi SruthiDeveloper,

    If your case has been solved, please help to mark answer. So that other people in this forum could find the solution.

    If you have any other concerns, just feel free to contact us.

    Your understanding and cooperation will be grateful.

    Best Regards,
    Sera Yu


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, May 3, 2017 7:31 AM