On 4/14/2010 22:51, André Hentschel wrote:
case 0x3: /* TTT TTTDD TTTDDD */
if (iDate&& dp.dwCount == 3)
if (dp.dwCount == 3&& !strncmp(ShortDate,"dd.MM.yy",8))
case 0x1B: /* localized DDDTTT */
if (!iDate)
if (strncmp(ShortDate,"dd.MM.yy",8)) { hRet = DISP_E_TYPEMISMATCH; break;
This looks like a workaround. I don't think you should hard code it this way, what's so special with this format? And what is a initial problem with that?