Tai OpenGL(鼠标使用Tao.freeglut.dll)

发布于 2024-10-10 07:46:22 字数 337 浏览 0 评论 0原文

我正在使用来自的代码 http://www.codeproject.com/KB/cs/OpenGLNavigation2TaoCShar.aspx

并尝试在安装在 Windows 7 64 位上的 Visual Studio C# 2008 Pro Ed 中运行

每当我运行代码时,它都会突然停止并显示以下内容

“尝试加载格式不正确的程序。(HRESULT 异常:0x8007000B) “

请建议该怎么做

I am using the code from
http://www.codeproject.com/KB/cs/OpenGLNavigation2TaoCShar.aspx

and trying it to run in Visual Studio C# 2008 Pro Ed installed on Windows 7 64bit

Whenever I run the code it stops abruptly and says the following

"An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)"

Please advice what to do

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

请持续率性 2024-10-17 07:46:22

在项目属性中的“构建”下,尝试将平台目标设置为 x86。 IIRC,Tao 库加载 32 位版本的 OpenGL 库,因此只能在 32 位项目中运行。

In your project properties, under "Build," try setting your platform target to x86. IIRC, the Tao libraries load 32-bit versions of the OpenGL libraries, and thus will only work in 32-bit projects.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文