简体   繁体   中英

Resolving of shell links in c# under Windows 7 fails

I try to resolve the paths of shell links, which are contained in the "Recent Documents" folder in Windows 7. I used the code posted here (Answer No 3) How to resolve a .lnk in c# . But the method ResolveShortcut is not able to determine the path of some files (eg many .txt-files). The same code works perfectly under Windows XP.

我刚刚下载,升级到2010,并在Win7系统上运行了示例,没有任何问题,没有进行任何更改。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM