To build the samples:

Sample 1:
=========

List of files
-------------
    sample1.cpp
    dialog.cpp
    com.cpp
    main.rc

Sample 2:
=========

List of files
-------------
    sample2.cpp
    dialog.cpp
    com.cpp
    main.rc

Sample 3:
=========

List of files
-------------
    sample3.cpp
    dialog.cpp
    com.cpp
    main.rc

For all Samples:
================

Link to these libs
------------------
    kernel32.lib
    user32.lib
    advapi32.lib
    ole32.lib
    uuid.lib
    winmm.lib
    shlwapi.lib
    shell32.lib
    ntdll.lib

Add these C defines:
--------------------
    UNICODE
    _UNICODE