当前位置:网站首页>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
边栏推荐
猜你喜欢
Party History Documentary theme public welfare digital cultural and creative products officially launched
Leetcode skimming -- sum of two integers 371 medium
已知两种遍历序列构造二叉树
[leetcode] 1254 - count the number of closed Islands
[development environment] install Visual Studio Ultimate 2013 development environment (download software | install software | run software)
[leetcode] 417 - Pacific Atlantic current problem
全是精华的模电专题复习资料:基本放大电路知识点
6.12 critical moment of Unified Process Platform
03. Preliminary use of golang
已知兩種遍曆序列構造二叉樹
随机推荐
PTA 天梯赛习题集 L2-001 城市间紧急救援
floyed「建议收藏」
士官类学校名录
2303. 计算应缴税款总额
【LeetCode】1905-统计子岛屿
Ant group's large-scale map computing system tugraph passed the national evaluation
MD5 encryption
/bin/ld: 找不到 -lxslt
[experience cloud] how to get the metadata of experience cloud in vscode
《大学“电路分析基础”课程实验合集.实验五》丨线性有源二端网络等效电路的研究
SQL修改语句
How to intercept the value of a key from the JSON string returned by wechat?
Finally, I understand the event loop, synchronous / asynchronous, micro task / macro task, and operation mechanism in JS (with test questions attached)
02. After containerization, you must face golang
Aiko ai Frontier promotion (7.2)
(Video + graphic) machine learning introduction series - Chapter 5 machine learning practice
2279. 装满石头的背包的最大数量
使用FFmpeg命令行进行UDP、RTP推流(H264、TS),ffplay接收
《大学“电路分析基础”课程实验合集.实验四》丨线性电路特性的研究
XPT2046 四线电阻式触摸屏