flat assembler
Message board for the users of flat assembler.
Index
> Windows > Accessing "in Use" Files == ? |
Author |
|
revolution 14 May 2008, 06:26
It depends on how the file is locked. When Process A opens the file it can say what access it wants to allow other process to have.
Win32 SDK: CreateFile wrote: dwShareMode |
|||
14 May 2008, 06:26 |
|
shakuni 14 May 2008, 06:43
Quote:
Yes I know that. Now tell me how can I circumvent those locks. |
|||
14 May 2008, 06:43 |
|
revolution 14 May 2008, 07:57
shakuni wrote: Yes I know that. Now tell me how can I circumvent those locks.
|
|||
14 May 2008, 07:57 |
|
MichaelH 14 May 2008, 21:01
MoveFileEx might be what you're looking for -
http://msdn.microsoft.com/en-us/library/aa365240(VS.85).aspx Does the URL tag work for this forum. I can never get it to work |
|||
14 May 2008, 21:01 |
|
LocoDelAssembly 14 May 2008, 22:32
It doesn't work when it has some not really special (apart of the real ones) characters, you have to replace "(" and ")" with its hex counterparts and it will work, example: http://msdn.microsoft.com/en-us/library/aa365240%28VS.85%29.aspx MoveFileEx Function
|
|||
14 May 2008, 22:32 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.