error C2065: 'INVALID_SET_FILE_POINTER' : undeclared identifier
2015-09-06 13:32
531 查看
Searching MSDN for that constant brings up one result: it's a failure code for SetFilePointer() and is defined in winbase.h, which is included in any project that includes windows.h. That's the latest information. However, I've got VC++ 6.0 and the documentation for that function on my MSDN CD says that the failure code used in the same situation is 0xFFFFFFFF. So my guess is that -- unless you've somehow neglected to include windows.h -- your copies of the Windows headers predate the introduction of this constant.
I believe that downloading the latest SDK would remedy this, but Visual C++ 6.0 is not supported by this latest version. So if you're using VC++ 6.0, the easiest thing to do would probably be to define this constant yourself for the time being:
I believe that downloading the latest SDK would remedy this, but Visual C++ 6.0 is not supported by this latest version. So if you're using VC++ 6.0, the easiest thing to do would probably be to define this constant yourself for the time being:
#define INVALID_SET_FILE_POINTER 0xFFFFFFFF
相关文章推荐
- 无法执行添加/移除操作,因为代码元素“CXXXDlg”是只读的
- ZOJ 3712 Hard to Play
- xdlove的暑期实践总结(大二篇)
- vsftpd的配置详解(中文说明)
- java 大数加减法(小数,正负)
- maven学习笔记(基本的命令和概念)
- SpringMVC中使用Interceptor拦截器
- Java Serializable(序列化)的理解和总结
- linux(centos)搭建SVN服务器
- 数据结构基础 链表的插入排序程序
- mysql 判断 字段是否为空
- [Android]反编译apk + eclipse中调试smali
- String详解, String和CharSequence区别, StringBuilder和StringBuffer的区别 (String系列之1)
- as3.0----Matrix的使用(旋转Sprite)
- PHP安装pthreads多线程扩展教程[windows篇]
- UI初级之常用UI控件UILabl 与 UIButton
- sort 命令--linux
- 剑指Offer系列---(4)实现Singleton模式
- Objective-C Runtime 运行时:成员变量(ivars)及属性
- 记一道很蛋疼的笔试题