现在的位置: 首页 > 综合 > 正文

如何使用FileCreate建立一个文件

2013年11月11日 ⁄ 综合 ⁄ 共 198字 ⁄ 字号 评论关闭

        int th=0; //th 是句柄
        th=FileCreate(saveName);

        if(th<0)
        {
            ShowMessage("创建文件失败");
            return;
        }
        else
            FileClose(th);  //不关闭的话,会出现其他程序调用不了这个文件的情况

抱歉!评论已关闭.