can someone help

For questions about using Classic.

Post » Sat Oct 29, 2011 10:24 pm

When I have vista aero set on my computer running windows vista 32 bit home premium when I preview or export a full screen game it crashes and gives an error like failed to initialize texture.

Any idea's?

Running as administrator or in compatability mode doesn't help.

Thanks in advance
B
4
S
1
G
1
Posts: 61
Reputation: 772

Post » Sat Nov 05, 2011 7:03 am

Nevermind Everyone, I've figured it out and was able to stop the crash by making some changes to the Construct Classic Source Code.
B
4
S
1
G
1
Posts: 61
Reputation: 772

Post » Sat Nov 05, 2011 8:01 am

Construct classic source code? like the c++, or you mean your events?
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Sun Nov 06, 2011 7:48 pm

Hi, The C++ I mean. The Original Construct Classic v1.2 Source Code
B
4
S
1
G
1
Posts: 61
Reputation: 772

Post » Sun Nov 06, 2011 7:52 pm

You may want to share the fix, so that it can be added for those who may encounter the same issue.

If you really fixed the issue, other vista users may be grateful Mipey2011-11-06 19:55:23
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Post » Sun Nov 06, 2011 11:53 pm

Hi sure I'll share the fix.

All I did was in the Visual Studio 2005 Source Code of the IDE was Disable The Desktop Composition.

to do this I delayed the dwmapi.dll under the ide linker properties and to the additional libs I added dwmapi.lib

Next on the MainFrm.cpp I added #include <Dwmapi.h>

Then on CMainFrame::OnCreate I added DwmEnableComposition(DWM_EC_DISABLECOMPOSITION);

This was a hack I learned from someone who hacked Construct but I won't mention his name because people doesn't like him. I found this hack in one of the few source codes he released back in 2008.

Thank you and I hope this helps people.
B
4
S
1
G
1
Posts: 61
Reputation: 772


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests