3. Choose DT-X7 in the Installed BDKs field and click > button.
Figure 9.4
4. Click Next > button while DT-X7 is kept being highlighted in the Selected BDKs (or Selected SDKs
in Figure 9.5) field.
Figure 9.5
5. Choose Console Application for the Application type in the Application Settings menu, and click
Finish button.
6. In Solution Explorer, click DeviceApp.cpp and then append the source code below subsequent to
"#include <commctrl.h>".
#include <SystemLib.h>
#if !defined(_countof)
#define _countof(_Array) (sizeof(_Array) / sizeof(_Array[0]))
#endif
82