I am having an application that uses widows API "GetDateFormat" to get
the system date in a desired format.
myDate = GetDateFormat( LOCALE_SYSTEM_DEFAULT,
0,
&st,
"ddd, dd MMM yyyy",
szDate,
SIZE_DATE );
This API works fine when the System Regional Settings is set for
"English" But on modifying regional settings to "French" the API
returns 0 (error).
What is causing this failure. Do I need to use different format for
"French" or is any general format that I can use for all Languages.
Please suggest.
Thanks,
Gaurav