The problem is confirmed. An include directive causes CreateFile to be redefined as CreateFileA (non-Unicode) or CreateFileW (Unicode).
The CDB API currently exports CreateFile as CreateFileA, corrections will be made to force the intended name of CreateFile. Users will also need to ensure that none of their include statements redefine CreateFile (or any other method exported by the CDB API).
There is no plan at the moment to support Unicode in the CDB API, but we would appreciate your comments and reasons if you feel this is necessary.