如何调用 “WINDOWS 图片和传真查看器”
2006-02-09 14:38
483 查看
在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);
我们需要用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);
相关文章推荐
- 如何调用 “WINDOWS 图片和传真查看器”
- Windows命令行调用windows 图片和传真查看器等
- 用C#打开Windows自带的图片传真查看器
- windows 图片和传真查看器不能旋转
- 在 Windows XP 中,无法使用 Windows 图片和传真查看器来查看图片
- 需要这样一个记录本-3 Delphi调用Windows自带图片查看器
- Win10图片打开方式没有“Windows照片查看器”,如何找回?
- 用C#打开Windows自带的图片传真查看器
- 如何在Win10下设置图片的浏览方式为windows照片查看器
- 用C#打开Windows自带的图片传真查看器
- c#中如何跨线程调用windows窗体控件?
- 如何轻松更换Windows 8锁屏背景图片的图文教程
- jQuery 图片查看插件 Magnify 开发简介(仿 Windows 照片查看器)
- windows event log如何在 Windows XP 的事件查看器中查看和管理事件日志
- java如何调用windows动态链接库
- 如何将word中的图片复制到windows live writer 保持大小不变--清晰度不变
- Windows 8小技巧:如何创建图片密码?
- 【Caffe】Windows下调用生成的classification.exe单张图片分类错误问题
- CSDN的Blog要如何配置才能够用Windows Live Writer发布带有图片的Post?
- 所有网页背景图放入一张图片,如何调用