64位计算机上的avistreamgetframeopen错误 [英] avistreamgetframeopen error on a 64 bit machine

查看:264
本文介绍了64位计算机上的avistreamgetframeopen错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不确定这是正确的论坛,但无论如何我都会尝试。我有一个使用vfw的avi阅读应用程序,当编译为32位目标时,它可以在64位机器上正常工作。但是,当我为x64编译时,AVI文件打开正常,并且可以从中提取
数据(例如宽度,高度和帧数)。但是,当我调用avistreamgetframeopen时,它返回NULL。我不太确定为什么,如果有人可以提供帮助,我将不胜感激。

I am not sure is this is the right forum to ask, but I'll try anyway. I have an avi reading application which uses vfw, which works fine on a 64 bit machine when compiled for a 32 bit target. However, when I compile for x64, the AVI file opens fine, and data can be extracted from it (such as width, height and number of frames). However, when I call avistreamgetframeopen it returns NULL. I am not really sure why, and if anyone could help, it would be much appreciated.

谢谢!

Tom

推荐答案

用于链接的Vfw32.lib的哪个版本?它应该是x64版本可能位于c:\Program Files \ MicroSoft SDKs\Windows \v6.1 \Lib \ x64 \Vfw32.lib。

which version of Vfw32.lib used for linking? It should be x64 version might be located c:\Program Files\Microsoft SDKs\Windows\v6.1\Lib\x64\Vfw32.lib.


这篇关于64位计算机上的avistreamgetframeopen错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆