开发者

Tao OpenGL (mouse using Tao.freeglut.dll)

开发者 https://www.devze.com 2023-02-02 10:53 出处:网络
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

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:开发者_StackOverflow中文版 0x8007000B)"

Please advice what to do


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消