创建可以打开的文件从我的程序 [英] Create File which just can open From my program
本文介绍了创建可以打开的文件从我的程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
我想创建使用C ++代码的文件,我可以从我的程序中更改(读取,写入,删除,重命名等)
仅限我来自我的程序
Hi
I want to Create File With C++ code that i can just can be change (Read,Write,Delete,Rename,etc) from my program
only and only from my program
推荐答案
在你的程序退出之前,你可以锁定目标文件。
所以,其他程序无法访问该文件。 br />
检查dwShareMode参数。
CreateFile功能
Until your program exit, you can lock target file.
So, other program can't access to the file.
Check dwShareMode argument.
CreateFile Function
你好阿里,
我想你想要创建自己的扩展文件,只能从你的应用程序访问我的权利吗?
Link1 [ ^ ]
首页这可以帮助你更好。
谢谢在这里问这个问题。 :-)
谢谢,
RK
Hi Ali,
I think you want to create your own extension file which can be accessible only from your application am i right?
Link1[^]
Home this helps you better.
Thanks for asking this question in here. :-)
Thanks,
RK
这篇关于创建可以打开的文件从我的程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文