Hi!
I made a simple example using the CExtShellDialogFile
void CTestProfUISView::OnFileOpen ()
{
CString strPathName;
CExtShellDialogFile dlgShellFile (NULL, CExtShellDialogFile::__EFDT_OPEN_SINGLE);
dlgShellFile.m_comboFileTypes.SetFilter(
_T("Bitmap files (*.bmp)|*.bmp|")
_T("All files (*.*)|*.*|")
_T("|")
);
dlgShellFile.m_nInitialFileTypeIndex = 0;
dlgShellFile.m_bFilesMustExist = true;
if( dlgShellFile.DoModal() != IDOK )
return;
ASSERT( dlgShellFile.m_arrRetValNames.GetSize() == 1 );
strPathName = LPCTSTR(dlgShellFile.m_arrRetValNames[0]);
}
On some PC’s ist working perfectly but on some the application goes to not responding for about 4 Minutes when pressing the Open or Cancel Button.
Then I build the BitmapEditor-u.exe and now it gets crazy :-(
on some PC’s my Example is working and the Bitmap Editor goes to not responding and on others the Bitmap Editor is working and my Example goes to not responding.
The PC’s I used for the test are 3 IPC’s with Win7 Pro 32 Bit SP1 E8500 3.16GHZ 2GB Ram -> different results even on these 3 PC’s.
One DELL Precision M6500 Win7 Pro 64Bit SP1 X920 2.0GHz 8GB Ram
One DELL Optiplex 745 Win7 Enterprise 32 Bit SP1 6600 2.4GHz 2GB Ram
All Pc’s are up to date Feb 19.2012
Different results I get also when I run the examples from a local drive or a network drive.
The BitmapEditor and my Example are compiled with VS2010 Unicode Dynamic Link to MFC this is what we use for all of our applications.
Do you have any Idea how we can resolve this massive Bug?
Best Regards
Walter