Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Warning Heap memory leak when closing program
icon7.gif  Re: Warning Heap memory leak when closing program [message #32525 is a reply to message #32524] Mon, 23 May 2011 20:56 Go to previous messageGo to previous message
silverx is currently offline  silverx
Messages: 62
Registered: March 2011
Member
Thanks. I used the memoryIgnoreLeaksBegin()/MemoryIgnoreLeaksEnd() end around the call to the function, and that worked great.

While I would love to use one without the memory leak, it is actually a standard dll that Microsoft created and can be used to play a .wav file. It was pointed out to them about the memory leak, but their response was it was designed that way.

And I don't currently have the knowledge on how to de-compile their dll and then recode it not to have the memory leak, no how to code the functions that their dll provides.

Again thank you. It works great now.

And for others this has a working example of using a dll on windows. I couldn't get the example provided by U++ for doing dll function calls to work. But this simple code works great.

David
 
Read Message icon7.gif
Read Message
Read Message icon7.gif
Read Message
Read Message icon13.gif
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Read Message
Read Message icon7.gif
Previous Topic: MINGW resource compile problem , M$ Windows
Next Topic: C2143 Error on even simple window with just one label? Help? What happened?
Goto Forum:
  


Current Time: Sat Apr 27 11:47:49 CEST 2024

Total time taken to generate the page: 0.06131 seconds