PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Bug in WindowBlinds (was: Problem with WindowBlinds)

Okay, I finally got around to updating everything I need to to make sure that this bug was still a problem. When I run any of the debug version of the sample apps on Windows XP--in other words, when they are run in a window instead of full screen--with the latest version of WindowBlinds (ver. 3.3i), the code crashes when OpenDisplay is called.

The following is all the error info I could gather. I can't really be more specific, since I can't step into the actual GapiDraw dll.

AppName: hellogapi.exe AppVer: 1.0.0.1 ModName: wblind.dll
ModVer: 3.30.0.0 Offset: 00012d10

Exception Information
Code: 0xc0000005
Flags: 0x00000000
Record: 0x0000000000000000
Address: 0x0000000066012d10

I believe there is a free version of WindowBlinds available that might help in tracking down this bug.

Incidentally, in the front-end I'm working on--non-MFC, non-thread based--I don't have this problem at all. I haven't really been able to find any more specific reasons for this.

-Ionitor[/url]
Could this be due to the Gapi Test apps using thread priority of 0 then?
Nope. The line that causes the problem:

m_display.OpenDisplay(hParentFrame, NULL)

comes before the CESetThreadPriority part (at least in the HelloGapi program, which is what I've been using to try to find the bug).

-Ionitor
Hi,

I own the entire Object Desktop and will try it later tonight..

/Johan
Ok, I have verified what triggers the crash. It is the shitty Windowblinds.

Try the following code:

Code:
RECT rc;
::MessageBox( 0, TEXT("This works fine"), TEXT("Hep"), MB_OK );
GetWindowRect( hParentFrame, &rc );
::MessageBox( 0, TEXT("Windowblinds has already crashed"), TEXT("Error"), MB_OK );
hr = m_display.OpenDisplay(hParentFrame, NULL);


As you will see this crashes Windowblinds everytime using certain skins (not every skin though, as you can see below). I updated the topic and would recommend every current and all potential future Windowblinds-customers to use StyleXP instead, which is a 100% native WinXP skinstudio.

http://www.tgtsoft.com/download.html
http://www.themexp.org/

Image
One of the WindowBlinds skins that does not crash.

/Johan

/Johan