windows - How to read data using ReadFile when file has disabled sharing on read -
i have problem, have file opened other process , process defined in createfile
non file sharing, have other application , want read data file in same time, how do.
i can't change file sharing in first application. can reach computer administrator right's, can changes in system, "code" solution better problem if can done code.
can me?
how using easyhook , hook in api createfile routine, in effect, code intercept api , possibly change dwsharemode
parameter make file_share_read bitwise or file_share_write i.e. (file_share_read|file_share_write) , call original hook allow createfile work normally...
Comments
Post a Comment