Hi Andreas,
i had a bit more free time, so i tracked down the rendering problem in NetTerm a bit more.
The problem occurs after SelectVisRgn16 is called with the same region as that currently selected in the DC. (eg. dc->hVisRgn == hrgn ). I made a dodgy patch to fix the problem by incrementing the reference count of the region in this case, but i don't know how to fix it properly, because i don't know much about region handling. With the dodgy patch, NetTerm's windows paints properly.
Perhaps perhaps you or somebody has a better way to fix the problem?
Mike
Andreas Mohr wrote:
On Tue, Oct 09, 2001 at 11:35:39AM +1000, Mike McCormack wrote:
Hi All,
i'm trying to solve a comms problem in NetTerm http://www.securenetterm.com/ but i've run into another problem.
The rendering in NetTerm fails almost completely. I
Yep, I strongly suspect a reference count problem here, too.
------------------------------------------ mailto:Mike_McCormack@start.com.au ph +82 16 430 0425
__________________________________________________________________ Get your free Australian email account at http://www.Looksmart.com.au