I'm looking into using portmidi. And I quickly noticed whole pm_dll.dll thing being used to close devices on exit/crash.
Questions 1. The README_WIN.txt seems to imply that pm_dll.dll is the way to go. But a comment in pm_win.c in the pm_init function says atexit works just as well. Which one is accurate? 2. Have you looked into using the SetUnhandledExceptionFilter Windows API function to handle shutdown in case of a crash? I'd like to get rid of the need for the DLL if possible, but if it's the best way then I guess that's the way it is. Thanks, John Stewart _______________________________________________ media_api mailing list media_api@create.ucsb.edu http://lists.create.ucsb.edu/mailman/listinfo/media_api