http://qs1969.pair.com?node_id=872676


in reply to Re^2: Read a file that is opened by another process
in thread Read a file that is opened by another process

With the appropriate privileges and access to the right APIs this is possible.

But gaining access to those APIs is far harder from Perl than C or C#, and way beyond the scope of this forum.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^3: Read a file that is opened by another process

Replies are listed 'Best First'.
Re^4: Read a file that is opened by another process
by ikegami (Patriarch) on Nov 20, 2010 at 23:59 UTC
    I'll gladly help someone with an XS or Win32::API solution once they've id'ed the proper interface.
      once they've id'ed the proper interface.

      It is the identification of the appropriate APIs and security settings--basically reading & understanding the appropriate MS documentation--that I consider beyond the scope of this forum.

      Once so identified, calling those is still far easier from C# than via either of XS or Win32::API


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.
Re^4: Read a file that is opened by another process
by ady (Deacon) on Nov 20, 2010 at 16:06 UTC
    OK, I feared that might be the case.
    I'll see how far I can get with the Windows unmanaged API from .NET (P/Invoke to C DLLs).

    Thanks anyway :)
    allan