From jegv07 at gmail.com Fri Nov 14 11:42:33 2008 From: jegv07 at gmail.com (=?ISO-8859-1?Q?Jose_Gonz=E1lez?=) Date: Sat, 15 Nov 2008 01:42:33 +0900 Subject: [Portmidi-devel] portmidi and windows form application Message-ID: Hello, I`m trying to use the PortMidi Application with Visual Studio 2008. I did all the test file and works fine in a win32 console application. But Now I want to use it with the Windows Form Application. I got it to compile, with a lot of warnings, but anyways when it goes to run the atexit(pm_exit) within pmwin.c the program gives me an error. The error is Debug Assertion Fail .... File:f:/dd/vctools/crt_bld/self_x86/crt/src/dbgheap.c... Expression:_CrtIsValidHeapPointer(pUserData)... And there I`m stuck, don?t know what should I do. If so one can guide me or tell me if I?m using the portmidi wrong with the windows form application, I will be very grateful! Thanks -- Jos? Gonz?lez Vargas. -"Giving up is start to die"- Lara A. "La B?squeda"