There are several things that could be causing a stack overflow. One of them is that some TSRs may be interfering with Windows. To fix it, disable any non-boot device drivers in the Config.sys and Autoexec.bat files. You also need to check the Win.ini and System.ini files for non-Windows-based programs. For more information, visit http://support.microsoft.com/kb/145799.