当前位置:网站首页>Lseek error
Lseek error
2022-07-02 15:46:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
Study windows Game programming Masters , There was an error running the function that loaded the bitmap int Load_Bitmap_File(BITMAP_FILE_PTR bitmap, char *filename)
Online search answers
In fact, the reason why this function fails is because of the compiler problem you use , If you use vc6 Is no problem , The problem is that , image OpenFile,_lseek Such a function is 16 position windows File operation function of the period , stay vc Its runtime also supports , But to a higher version visual studio in , I don't support it anymore , There are two solutions : 1. Use vc6 compile 2. Use experience file operation function ,CreateFile,ReadFile,SetFilePoint To replace the file operation function inside
use _llseek Replace _lseek That's all right.
Reference resources : http://zhidao.baidu.com/link?url=LhYIe3nqvJ5ubEBK39Ia8z1nIapWq9B7ldGVYWoqwR7vDbv6pSROC9GI4_UTLkIAMZHRtqupO1q-Ef_BMwY38a
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/147724.html Link to the original text :https://javaforall.cn
边栏推荐
- The outline dimension function application of small motherboard
- 《大学“电路分析基础”课程实验合集.实验七》丨正弦稳态电路的研究
- /bin/ld: 找不到 -llz4
- Comparison between rstan Bayesian regression model and standard linear regression model of R language MCMC
- 《大学“电路分析基础”课程实验合集.实验六》丨典型信号的观察与测量
- Leetcode skimming -- sum of two integers 371 medium
- 高考分数线爬取
- Leetcode skimming -- incremental ternary subsequence 334 medium
- 已知兩種遍曆序列構造二叉樹
- (4) Flink's table API and SQL table schema
猜你喜欢
Why does the system convert the temp environment variable to a short file name?
Experiment collection of University "Fundamentals of circuit analysis". Experiment 6 - observation and measurement of typical signals
密码学基础知识
Redux - detailed explanation
已知兩種遍曆序列構造二叉樹
Custom exception
微信支付宝账户体系和支付接口业务流程
How to intercept the value of a key from the JSON string returned by wechat?
Bing.com網站
二叉树前,中,后序遍历
随机推荐
愛可可AI前沿推介(7.2)
[leetcode] 977 - carré du tableau ordonné
PTA 天梯赛习题集 L2-001 城市间紧急救援
/bin/ld: 找不到 -lcrypto
【LeetCode】877-石子游戏
(5) Flink's table API and SQL update mode and Kafka connector case
【LeetCode】1140-石子游戏II
奥比中光 astra: Could not open “2bc5/[email protected]/6“: Failed to set USB interface
【LeetCode】876-链表的中间结点
Strings and arrays
高考录取分数线爬虫
For the problem that Folium map cannot be displayed, the temporary solution is as follows
Experiment collection of University "Fundamentals of circuit analysis". Experiment 6 - observation and measurement of typical signals
PyObject 转 char* (string)
Leetcode skimming -- sum of two integers 371 medium
彻底弄懂浏览器强缓存和协商缓存
《大学“电路分析基础”课程实验合集.实验五》丨线性有源二端网络等效电路的研究
[leetcode] 200 number of islands
Bing. Com website
使用FFmpeg命令行进行UDP、RTP推流(H264、TS),ffplay接收