Windows & MFC (Jan 6)

We are making good progress on the Windows version. It was easy to get the new outline view working, since we could use a ‘wizard’ that set it up automatically. After a week of programming, the Windows version already opens files, converts old Goldenseal accounting files to Pro format, and shows the main window. It took more than a month to get to the same point using Cocoa on Macintosh.

We use something called MFC (Microsoft Foundation Classes) for the Window interface code. MFC has been around since 1992, and is still being improved (and used heavily).  MFC is entirely C++, so it’s easy to tie in with our code. In fact, we already use quite a bit of MFC already, in the current Goldenseal for Windows.

Writing good code in C++ takes skill and practice.  Writing apps for Windows and Mac also requires a great deal of patience, since it means working with libraries from massive, semi-monopoly corporations that don’t need to make life easier for their software developers. MFC’s maturity is great, but it also means that many parts still read like DOS from the early 90’s.  Hopefully, we won’t need to spend too much time looking at code such as LPCTSTR lpszItem, LPCTSTR szFilePath.

Dennis Kolva
Programming Director

Author: Dennis Kolva

Programming Director for Turtle Creek Software. Design & planning of accounting and estimating software.