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
Re: Warning Heap memory leak when closing program [message #32536 is a reply to message #32534] Tue, 24 May 2011 08:45 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
OK, found the bug, you have wrong singnature of imported function, obviously winmm.dll knows nothing about U++ String type...

void t3::PlayIt()
{
	
	typedef int (*importFunction)(const char *, long);
	


With this change, no leaks, no issues, no need to ignore leaks.

Mirek

[Updated on: Tue, 24 May 2011 08:46]

Report message to a moderator

 
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 09:49:55 CEST 2024

Total time taken to generate the page: 0.02473 seconds