怎么打开wondows自带的图片和传真查看器,在C盘什么位置?谢谢!

发布时间:2024-05-18 19:59 发布:上海旅游网

问题描述:

问题解答:

在WINDOWS XP中,“WINDOWS 图片和传真查看器”这个应该程序并没有一个真正存在的EXE文件,他是从一个DLL中调用而来的,具体调用方法如下:

我们需要用rundll32.exe这个程序来运行含有这个功能的DLL(shimgvw.dll),并附加参数ImageView_FullScreen.

CString strSystemDir;
::GetSystemDirectory(strSystemDir.GetBuffer(256), 256);
strSystemDir.ReleaseBuffer();

strPicFile = LongPathToShort(strPicFile);
strSystemDir = LongPathToShort(strSystemDir);

CString strRundll;
strRundll = strSystemDir + "\\rundll32.exe";

CString strParm;
strParm.Format("%s\\shimgvw.dll imageview_fullscreen %s", strSystemDir, strPicFile);

ShellExecute(NULL, "Open", strRundll, strParm, NULL, SW_SHOW);

控制面板

热点新闻