fixed: the label cannot be displayed in cpp-tests for platform win32 sometimes

fixed: the label cannot be displayed in cpp-tests for platform win32
sometimes
Pass FILE_SHARE_READ to the 3rd parameter of CreateFileW. Otherwise, it
may fail to get date from the font file.