U++ framework
Do not panic. Ask here before giving up.

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: 14290
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: Wed Apr 29 06:13:57 GMT+2 2026

Total time taken to generate the page: 0.00538 seconds