关于CreateFile的问题 [英] Qusetions about CreateFile

查看:80
本文介绍了关于CreateFile的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天,我遇到了麻烦,当我使用CreateFile函数打开由Excel打开的现有文件时,在调试时跳出了ERROR_SHARING_VIOLATION违规.因此,如何打开这种打开的文件因为我知道Editplus可以做到!任何可以帮助我的人,我都拥有您很大. :laugh:

Today,I have got a trouble that when I use CreateFile function to open an exist file that was opened by Excel.There is an ERROR_SHARING_VIOLATION violation jumped out when I were debugging.So, How can I open this kinds of file opened by Excel?Cause I know Editplus can do it! Anyone who can help me that I own u a big one. :laugh:

推荐答案

请参见此处 [ ^ ],以获取有关何时发生此错误的详细信息,以及
此处 [
See here[^] for some details on when this error occurs, and
here[^] for the correct options to use.


虽然您的问题不是很清楚,但看起来此链接应该可以帮助您:
PRB:CreateFile函数失败时出现ERROR_SHARING_VIOLATION错误消息 [
Though your question is not quiet clear, but it looks like that this link should help you out:
PRB: ERROR_SHARING_VIOLATION Error Message When the CreateFile Function Fails[^]


这篇关于关于CreateFile的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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