SimpleOpenGLControl and Vista confliction?

Hello! Flame here. I decided to try out Tao and behold, I was happy to see how well it worked. So I kept using it and slowly got very good at using it. But then I went to my school, and in some rooms the computers run Vista (I was developing under XP with MS Visual Express 2008 C# and MS Visual 2005 (full) ). I decided to check my application's performance on Vista but upon running it, it said that it has caused a problem and has stopped working, WAY before the window form came up!

The problem is that while running in XP, there are no problems what so ever. To ensure that this couldn't be a missing DLL problem, I copied all the required DLLs over to the root folder of the program until it ran on a PC with XP without the framework installed on it. I then head back to the Vista PC and behold, still the same problem. It runs perfectly fine in XP, but in Vista, it doesn't even want to run. The sadder part is the Vista PC does not have MS Visual of any kind, so I can't even debug the problem.

Is there something special I have to do to ensure compatibility between the operating systems?

The DLLs I copied over are:
*freeglut.dll
*lua5.1.dll
*lua51.dll
*Tao.FreeGlut.dll
*Tao.OpenGL.dll
*Tao.Platform.Windows.dll

Any help is appreciated. Thank you.

Seems compatible on my Vista

Seems compatible on my Vista machine. You probably need to copy over the non Tao versions of the relevant dlls from the lib folder (freeglut.dll, etc).

Oops, sorry. I somehow

Oops, sorry. I somehow missed that you'd already done that. I'm not sure if there's a difference between Vista and XP here, but when I build Tao apps on my machine I have to set the target from 'any cpu' to x86... but all of the programs I've written with the Tao framework in Vista work on XP machines, so I can't help much more than that.

Does the user run the x86 or

Does the user run the x86 or x64 version of Vista? If it is the latter, it's normal that the x86 dlls bundled with Tao won't work.

What happens is this: your .Net program is compiled as AnyCPU, which means x86 on x86 OSes and x64 on x64. However, you can't mix a x64 .Net program with x86 native dlls - they have to be the same.

If this is the case, you should either compile x64 dlls yourself (freeglut etc), or compile your .Net program as x86, not AnyCPU. The first is preferrable (better performance), but the latter might be easier to do if you need a quick solution.

------
OpenTK

Not sure what version of

Not sure what version of Vista I was testing on. It says it's using an AMD 64 Athlon X2 and that the version is 32 bit, but I did not see any x64 or x86 information. That sounds like it could be the case, in which it's a shame I'd have to compile using a special version.

How do I find out what version of Vista I am using (assuming it was purchased from Dell or whatever and I need to operate a command to find out)?

Theme by La Boite a site | Powered by Drupal