Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


FileOpen on a File Opened by Another Process

Keywords: 	  fileopen Intcontrol 39

Question:

I would like to open (read) a file that is currently opened by another process. When I try a binaryreadEx I receive a 1077 error code. Is There any trick to bypass this error and to open the file (filesizeEx give me the right size, and fileexist returns 2, but the file can be opened with notepad or other editors)

Answer:

Try adding:
IntControl(39,3,0,0,0)
before the FileOpen...
Article ID:   W15149