>We have a program wirtten in Foxpro For Windows 2.6, it was running fine on Pentium 100 PC, recently we upgrade the PC to Pentium 300 with 64mb RAM, we got the error message on 'insufficient memory' when the system pop some screen. We had install the patch file for divide error. We have tried every configuration in config.sys (to use EMM386 or HIMEM etc). Is there any solution?
>
>We really appreciate for your help.
Another thing to look at is the use of WIndows resources, the GDI in particular. If you're running at a high resolution, with greater color depth (ie more available colors per pixel than you had before), have lots of Desktop icons and lots of fonts installed, you may be exhausting the GDI, which under Win9x, can't exceed a total of 64KB in size, no matter how much physical memory you have - reducing the color depth, screen resolution, number of installed fonts and number of icons may free up part of the GDI for you, since the GDI is used to hold graphical objects, screen buffers and the like.
The alternative would be to use NT rather than Win9x, which doesn't have the GDI limitations of Win9x, since its Win16 resources aren't limited in the same way that Win9x's are, since Win9x still inherits a good deal of the graphical interface for use by Win16 apps like FPW 2.6 from the old DOS/Win3.1x days.