For this week's spot the bug contest, we have a simple C++ application that displays a list of employees in a listview control. The MFC class library has been used in this project. MFC, as you may know, is supported on Windows Mobile Pocket PC and Smartphone projects created with Visual Studio 2005.

Upon startup, our application loads up some employee information (loadData), initializes a list view control (initializeListCtrl) and then displays the list of employees (populateListCtrl).