Stop opening process
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Stop opening process

  1. #1
    Join Date
    May 2009
    Posts
    1

    Stop opening process

    Hello everybody,


    I want to stop the opening file process to execute this file with my application.

    I explain my problem :

    I have a shared folder with different types of files (.doc, .xls. .txt, .exe...). All of these files should be run with my application, without opened with your associate application.

    I can't modify relation between apps and extensions of files because on other devices, the opening process should be normal.

    I think to hook ZwCreateFile, but the opening file process isn't stop.

    Have you ideas ?

    Thanks.

  2. #2

    Re: Stop opening process

    Hello,

    I would suggest that theres a solution to be found at application user-mode level, rather than writing a kernel driver.

    Peter

  3. #3
    Join Date
    May 2009
    Posts
    16

    Re: Stop opening process

    How about setting special permissions for the files you don't want to be accesible?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center