Date: Thu, 18 May 2000 06:34:47 +0000 ( ) From: Douglas Mak <> Cc: ssh@massconfusion.com Subject: FiSSH - Good news, bad news Found the crashing on Win9x problem.. but I'm still looking for a workaround. =/ there's a variable (m_usFontX) that i used MFC's pDC->GetCharWidths() function. GetCharWidths() function behaves differently on Win9x and WinNT. Ultimately it crashes the program cuz at one point i divide by m_usFontX in reference.. look at winsshView.cpp line 152 to 155 & line 215 and 216. i'll let you guys know when i figure it out.. doug -------------------------------------------------------------------------- Date: Thu, 18 May 2000 07:13:58 +0000 ( ) From: Douglas Mak <> Cc: ssh@massconfusion.com Subject: quick fix to the startup crash on Win9x Look for this chunk around line 154 in winsshView.cpp //Calculate width of Normal font pDC->GetCharABCWidths('a', 'a', &myABC); m_usFontY = (unsigned short) (-GetApp->m_lf.lfHeight); m_usFontX = (unsigned short) (myABC.abcfA + myABC.abcfB + myABC.abcfC); add the following line to the chunk if (m_usFontX == 0) m_usFontX = 8; as you can see.. it's a pretty quick hack.. but at least it avoids the div by zero error good luck, doug