当前位置:网站首页>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
- [leetcode] 977 - carré du tableau ordonné
- How to intercept the value of a key from the JSON string returned by wechat?
- [leetcode] 977 square of ordered array
- 【LeetCode】189-轮转数组
- fastjson List转JSONArray以及JSONArray转List「建议收藏」
- Leetcode skimming - remove duplicate letters 316 medium
- MD5 encryption
- /bin/ld: 找不到 -lxml2
- 士官类学校名录
猜你喜欢

PostgresSQL 流复制 主备切换 主库无读写宕机场景

Loss function and positive and negative sample allocation: Yolo series

Bing. Com website

Review materials for the special topic of analog electronics with all essence: basic amplification circuit knowledge points

《大学“电路分析基础”课程实验合集.实验七》丨正弦稳态电路的研究

Leetcode skimming -- incremental ternary subsequence 334 medium

Comparison between rstan Bayesian regression model and standard linear regression model of R language MCMC

Leetcode skimming -- count the number of numbers with different numbers 357 medium

【LeetCode】1905-统计子岛屿

【Experience Cloud】如何在VsCode中取得Experience Cloud的MetaData
随机推荐
Bing.com網站
[leetcode] 977 - carré du tableau ordonné
PTA ladder game exercise set l2-001 inter city emergency rescue
Deux séquences ergodiques connues pour construire des arbres binaires
睿智的目标检测23——Pytorch搭建SSD目标检测平台
Leetcode skimming -- incremental ternary subsequence 334 medium
《大学“电路分析基础”课程实验合集.实验五》丨线性有源二端网络等效电路的研究
[experience cloud] how to get the metadata of experience cloud in vscode
【LeetCode】877-石子游戏
Leetcode skimming -- sum of two integers 371 medium
提前批院校名称
/bin/ld: 找不到 -lpam
高考录取分数线爬取
彻底弄懂浏览器强缓存和协商缓存
数字藏品系统开发(程序开发)丨数字藏品3D建模经济模式系统开发源码
【Experience Cloud】如何在VsCode中取得Experience Cloud的MetaData
[leetcode] 1020 number of enclaves
已知兩種遍曆序列構造二叉樹
【LeetCode】977-有序數組的平方
【LeetCode】1162-地图分析