我如何读取文件. [英] How can I read the file.

查看:69
本文介绍了我如何读取文件.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你知道吗?

程序A正在写入文件.

顺便说一下,程序A不使用共享模式打开文件.

如何使用"CreateFile"和"ReadFile" API读取文件?

如今困扰着我.

帮帮我.

Do you know it?

Program A is writing the file now.

By the way, Program A opened the file not using Share mode.

How can I read the file using "CreateFile" and "ReadFile" APIs?

It bothers me nowadays.

Help me.

推荐答案

检查文档中的"CreateFile"和"ReadFile",尝试读取该文件,如果它不起作用,则返回一个特定问题.

http://msdn.microsoft.com/en-us/library/aa363858(VS .85).aspx [ ^ ]
http://msdn.microsoft.com/en-us/library/aa365467(VS .85).aspx [ ^ ]

祝你好运:)
Check the documentation for "CreateFile" and "ReadFile", try to read the file, and if it does not work come back with a specific question.

http://msdn.microsoft.com/en-us/library/aa363858(VS.85).aspx[^]
http://msdn.microsoft.com/en-us/library/aa365467(VS.85).aspx[^]

Good Luck :)


这篇关于我如何读取文件.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆