Jump to content

Detect the opening of a file


Recommended Posts

Hello

I try to Detect the opening of a file. It's for winclam antivirus. The function is like a on-access function.

do you have any idéa to do this?

Thank you, and sorry for my bad english.

(my script scan: memory, important file system, recent document, but i don't know how to do a on-access function).

Link to comment
Share on other sites

if it's an .exe file you could use ProcessExists to see if it is running.

Yes, for exe (process) and for recent document (the directory of recent document) (doc,ott...) it's ok.

But, if i run winrar and then open a rar file in winrar i can't detect this (or with the title of the windows, but it's not a really good solution), ant that is the problem :/

Maybe with the HANDLES ...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...