kornalius wrote:
Hi,
I am the author of PPL. If you have any questions or need help please ask.
Regards,
Alain Deschenes
President, ArianeSoft Inc
http://www.arianesoft.caI'm using Chinese Version PPC, I found that the following scripts cannot work properly with the Time, it shows "0" only. The date shows normal.
Pls help.
Quote:
struct (st$, SYSTEMTIME);
GetSystemTime(&st$);
time$ = (st.wHour$ + ":" + st.wMinute$);
new (s$, 1024);
GetDateFormat(LOCALE_SYSTEM_DEFAULT, DATE_LONGDATE, &st$, NULL, &s$, &sz$);
date$ = char(s$);
new (s$, 1024);
GetTimeFormat(LOCALE_SYSTEM_DEFAULT, LOCALE_NOUSEROVERRIDE, &st$, NULL, &s$, &sz$);
time$ = char(s$);
g_drawtextex(font2$, operatorname$, 31, 4, 240, 320, true);
length1$ = length(time$);
if (length1$ == 10)
s1$ = (time$[0,4]);
end;
if (length1$ == 11)
s1$ = (time$[0,5]);
end;