使用“另存为"菜单选项跟踪文件的保存... [英] Tracking file saving using 'Save As' menu option...

查看:155
本文介绍了使用“另存为"菜单选项跟踪文件的保存...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,

在解决我面临的问题时,我需要您的帮助.
我想使用不同应用程序(例如记事本,word,excel,acrobat)等的另存为"菜单选项来跟踪文件的保存.我想这需要挂钩一些API,例如getsavefilename等.但是后来我发现了是MS OFFICE实用程序使用其他我无法弄清楚的外来api,我真的很感动...感谢在此方向上的任何帮助

我在Windows XP上使用VC ++



在此先感谢
Dinakara K

解决方案

您将需要文件系统过滤器驱动程序来捕获对磁盘的所有写入.

感谢超人,

我认为MS Office套件将使用一些API,除了编写过滤器驱动程序外,我应该能够钩住或至少掌握一些技术....


Dear All,

I need your help in cracking a problem i am facing.......

I want to track the saving of a file using ''Save As'' menu option of different applications(like notepad, word, excel , acrobat) etc. I guess it requires hooking some of APIis like getsavefilename etc. But then what i found is MS OFFICE utilities use some other alien apis which i am not able to figure out, I am really struck here... I appreciate any help in this direction

I am using VC++ on windows XP



Thanks in advance
Dinakara K

解决方案

You would need a File System Filter Driver to catch all writes to the disk.
Not really a straight forward task.


Thanks superman,

I think there would be some APIs that the MS office suite uses which i should be able to hook or atleast some techniques other than writing filter driver.......


这篇关于使用“另存为"菜单选项跟踪文件的保存...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆