-
把快捷方式的文件的路径,使用IShellLink。
怎样获取快捷方式所指向的目标文件名? HRESULT hres IShellLink* psl HRESULT hres IShellLink* psl char szGotPath[MAX_PATH] char szDescription[MAX_PATH] WIN32_FIND_DATA wfd OleInitialize(0) hres = CoCreateInstance(CLSID_ShellLink, NULL, CLSCTX_INPROC_SERVER, IID_IShellLink, (LPVOID*)&psl) if (SUCCEEDED(hres)) { IPersistFile* ppf hres = psl->QueryInterface(IID_IPersistFile, (void**)&ppf) if (SUCCEEDED(hres)) { WCHAR wsz[MAX_PATH] char lpszLinkFile[MAX_PATH] //这里存放的是快捷方式的路径 if(MultiByteToWideChar(CP_ACP, 0, lpszLinkFile, -1, wsz, MAX_PATH)==0) return hres = ppf->Load(wsz, STGM_READ) if (SUCCEEDED(hres)) { hres = psl->Resolve(m_hWnd, 0) if (SUCCEEDED(hres)) { hres = psl->GetPath(szGotPath, MAX_PATH, (WIN32_FIND_DATA*)&wfd, SLGP_SHORTPATH)-Get the path file of the Shortcut, using IShellLink.
- 2023-07-15 01:10:03下载
- 积分:1
-
学生成绩管理系统源代码及设计报告
本程序为用Delphi 做的学生成绩管理系统,压塑内包含源代码,数据库和设计报告,将数据库正常导入SQL才能正常使用
- 2022-06-21 22:12:10下载
- 积分:1
-
WPF C# Windows
WPF 特效 常用的C#特效,是开发WPF 学习WPF的好的教程 例子
- 2023-01-30 19:30:03下载
- 积分:1
-
VC 串口通信源代码
串口通信程序源代码,可直接运行 Complete serial communication program source code, can be directly run
- 2023-03-10 11:05:03下载
- 积分:1
-
列出所有的显示模式并列表出来,通过单击列表来改变显示分辨率。...
列出所有的显示模式并列表出来,通过单击列表来改变显示分辨率。-listed all modes and the list, and click through the list to change the display resolution.
- 2022-08-09 18:23:00下载
- 积分:1
-
全功能汉字取模工具是广州信先行电子科技有限公司(www.xxxmcu.com)专门为汉字显示设计的工作者设计的,提供最流行的16x16、24x24汉字点阵自动转...
全功能汉字取模工具是广州信先行电子科技有限公司(www.xxxmcu.com)专门为汉字显示设计的工作者设计的,提供最流行的16x16、24x24汉字点阵自动转换功能,24x24点阵还提供多种字体的转换(支持仿宋、黑体、楷体、宋体),而且能自动转换为横向、竖向的字模数组。极大提高了显示设计者的工作效率。-Full-featured character mod tool is the letter first, Guangzhou Electronic Technology Co., Ltd. (www.xxxmcu.com) display designed specifically for the Chinese workers designed to provide the most popular 16x16, 24x24 dot matrix characters automatic conversion feature, 24x24 dot matrix is also offers a variety of font conversion (supports italics, bold, italics, Arial), but also automatically converted to horizontal, vertical array of the matrix. Greatly improved the efficiency of display designers.
- 2022-05-08 20:02:14下载
- 积分:1
-
本软件采用C/S模式,所以在第一次使用时需要对本软件进行配置,详情见说明。...
本软件采用C/S模式,所以在第一次使用时需要对本软件进行配置,详情见说明。-This software using C/S mode, so the first time need to configure the software, as detailed in note.
- 2022-06-15 14:55:50下载
- 积分:1
-
PPC流行的播放软件gsplayer源码,语言使用C++,MFC方式编程。开发环境EVC...
PPC流行的播放软件gsplayer源码,语言使用C++,MFC方式编程。开发环境EVC-PPC popular players gsplayer source software, the use of C language, the way MFC programming. Development environment EVC
- 2022-01-26 00:52:17下载
- 积分:1
-
端口扫描
这是一个简单的桌面应用程序的网络扫描。它运行在端口扫描或在端口扫描模式中,使用可用的 (目前) 三种不同扫描方法之一。它是在 VC 利用 WinPcap 本机库和.NET 包装,SharpPcap 开发了。它提供用于设置网络扫描选项具有日志记录功能的基本界面。该项目最初是为信息系统 (MSc) 的"系统与网络安全"课程任务在雅典大学经济和商业 (MScIS 2008-09) 由装修 Biboudis 和于 Nerantzinis.Modes 当前可用端口扫描,端口扫描。当前可用的方法是 TCP 扫描,UDP 扫描,SYN 扫描。
- 2022-02-02 01:29:39下载
- 积分:1
-
LAN
基于局域网络的命令和数据传输 在一台机器上,将点、线、面的绘画命令和参数通过局域网发送到另外一台计算机上,并在其屏幕上显示绘画结果 -LAN-based commands and data transmission on a single machine, will be point, line, surface drawing commands and parameters sent via the LAN to another computer, and the results of their paintings displayed on the screen
- 2022-03-18 03:40:42下载
- 积分:1