The class method mitk::CoreObjectFactory::GetFileExtensions() returns a const char pointer from the string c_str() method. The string object is created in this method and also destroyed when the program leaves the method's scope. Consequently the pointer becomes invalid. As a result the FileOpen dialog doesn't work, because it filter with a bogus string, at least in the Debug version. The Release version filters with (*.*), which works but is still wrong.
The GetSaveFileExtensions is broken in the same way. This bug occurs in the latest SVN revision 20418 (introduced in rev. 20071) on Windows XP with MS Visual Studio 2008. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
