3 posts / 0 new
Last post
ForumImport
Offline
Last seen: 9 years 2 months ago
Joined: 09/22/2009 - 18:47
Windows 7 not liking K-3D.

I just tried installing K-3D on my new windows 7 laptop. It installs fine. When you launch K-3D (Which failed to create the desktop icon even though I checked the box for it during the installation) on windows 7 it first opens fine. Then, it if you close the Welcome window with the Light Bulb on it and double click a sample to open, it then gets a error from windows 7 that pops up in the system tray saying that this program k-3d.exe has caused an error and the windows basic 7 theme must be used. (Which is the one I was using already.) Then the sample never opens, and the view area where the model is supposed to show up lets you see through it to your desktop, and there are partial windows overlapping each other, and it's obviously partial frozen. But if you click file, and click around on the options in the menu bar at the top that part is still working. I tried changin themes, and running the program in windows xp mode, and windows vista mode, but nothing worked. It all still gives the same error message, and the same partially frozen window. If you minimize/maximize the window it will come up and the partially overlapping windows will be gone, but in the viewport you just see the desktop. If you try changing the viewport using the arrow drop down, it crashes to the desktop. Any ideas how to get it working on windows 7?

ForumImport
Offline
Last seen: 9 years 2 months ago
Joined: 09/22/2009 - 18:47
Windows 7 not liking K-3D.

K-3D has a plugin that runs at startup to disable desktop composition on Vista, because desktop composition interferes with OpenGL. It's possible that this either isn't working on Windows 7 or isn't the right thing to do; unfortunately, I don't use Windows and can't test it for you - I'm not sure whether any of the other K-3D developers use Vista or Windows 7 either. In general, this issue should affect all OpenGL apps the same on your machine, so you might search for other suggestions online - they don't have to be K-3D-specific. If you are interested in taking a look at the code, it is in k3d/modules/windows/disable_desktop_composition.cpp. The code looks for a DLL named "dwmapi.dll" and calls DwmEnableComposition(0) if it finds it. Perhaps the DLL has changed or there is some other way to do things on Windows 7.
Cheers,
Tim

ForumImport
Offline
Last seen: 9 years 2 months ago
Joined: 09/22/2009 - 18:47
Windows 7 not liking K-3D.

Thank you for the quick reply. If I solve the issue on my Windows 7 laptop I will post the solution.

Log in or register to post comments