Subj : Re: Migrating from a Dos app To : borland.public.cpp.borlandcpp From : Bob Gonder Date : Tue Jan 06 2004 05:54 pm Joe Pettit wrote: >I have an old Dos app written in Borland C++ 3.1. >I really need to update this app to a windows app. The app does not have a >lot of visual user interface but instead has a lot of detailed file >manipulation under the covers. The easiest is to make it a console app. Then it will look and work just like the DOS app. The biggest thing to watch for in migrating from DOS to Win32 is that "int" becomes 32bits instead of 16, so any structures made with "int" will be the wrong size. Also, any MAKE_FP and "far" prefixes can be removed. If you are looking to update the look (for "political" reasons) to GUI, then you could use the Resource Workshop that came with 3.1 to design your forms. The code to run a simple form isn't all that hard. There are example Win programs that came with 3.1 that show the basics. That part hasn't changed much over the years. The free command line compiler will compile the old Resouce Workshop file just fine, and your converted code will compile and link into a 32bit Win App (either console or GUI). .