waveOutGetNumDevs() prevents memory leak detection output - by FastEddie

Status : 

  Deferred<br /><br />
		The product team has reviewed this issue and has deferred it for consideration at a later time.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


4
0
Sign in
to vote
ID 658899 Comments
Status Closed Workarounds
Type Bug Repros 3
Opened 4/11/2011 1:17:09 PM
Access Restriction Public

Description

By calling waveOutGetNumDevs() in a program prevents the CRT memory leak detection output from displaying.

This affects Visual Studio 2008 SP1 and Visual Studio 2010 RTM

testing with a 32-bit console app.

----

#define _CRTDBG_MAP_ALLOC
#include <crtdbg.h>
#include <windows.h>

int main()
{
   _CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );

   waveOutGetNumDevs(); // comment out to get memory leak detection working again

   int * testLeak = new int( 42 );
}
Sign in to post a comment.
Posted by Microsoft on 4/11/2011 at 7:22 PM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.

Posted by Microsoft on 4/11/2011 at 2:14 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)