OpenFileName (...) 不知为什么不能显示驱动器?????

解决方案 »

  1.   

    代码?试试看这个  OPENFILENAME ofn;  // older version
       memset(&ofn, 0, sizeof(ofn));
       ofn.lStructSize = sizeof(ofn);
       ofn.lpstrInitialDir=_T("::{20D04FE0-3AEA-1069-A2D8-08002B30309D}");
       int nResult = ::GetOpenFileName(&ofn);更多的CFileDialog查看 扫盲系列(2): CFileDialog 文件对话框 
    http://community.csdn.net/Expert/topic/4208/4208272.xml?temp=.9243585