Winstep Forums
http://forums.winstep.net/phpBB2/

Running Programs not updating
http://forums.winstep.net/phpBB2/viewtopic.php?f=2&t=4393
Page 3 of 3

Author:  winstep [ Tue Dec 13, 2011 5:56 pm ]
Post subject:  Re: Running Programs not updating

maddog wrote:
Changing the theme in NextSTART does NOT affect WorkShelf. Also, changing the theme in WorkShelf does NOT change NextSTART's theme


Wow. You know what this means? That windows are not being sub-classed at all.

This being the case, I'm actually surprised how *anything* works.

When you change the theme in NextSTART, by default it sends a WM_COPYDATA message to a sub-classed control window in WorkShelf to tell it to change the theme as well. If sub-classing is failing for some reason, WorkShelf will not be able to listen to that message.

Author:  winstep [ Tue Dec 13, 2011 6:00 pm ]
Post subject:  Re: Running Programs not updating

Ok, I think I have a clue as to what the possible problem might be.

Author:  winstep [ Fri Dec 16, 2011 4:45 am ]
Post subject:  Re: Running Programs not updating

PROBLEM SOLVED! :D

Just had confirmation that a new private beta has fixed this issue.

For the technically minded, something in the Intel/nVidia combo configuration was setting the LastDLLError property (i.e.; signaling that a DLL had returned an error code) after a call to SetWindowLong(hWnd, GWL_WNDPROC, lpfnNew). The subclassing routine was based in an old sample and structured in such a way that if LastDLLError held anything other than zero, it aborted the sub-classing of the window even if the return value of SetWindowLong indicated success.

No sub-classing, no notifications. No notifications, programs don't update, time is not announced, Internet communications don't work, plus a host of other related problems (I'm surprised how *anything* worked under these conditions).

So, if you have an Intel/nVidia combo and your Winstep application is misbehaving, please send me a private message.

Page 3 of 3 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/