Hi,
Could somebody who is experiencing this problem run the
attached
test program and send me the results ?
thanks
Zoltan
Paul Paximadis <[EMAIL PROTECTED]> írta:
> I have just installed latest version on mono for Windows (
> mono-0.28-win32-1.exe ) and I still get an error trying to
compile
> simple Hello application.
>
> ** ERROR **: file icall.c: line
>
3145(ves_icall_System_CurrentTimeZone_GetTimeZoneData):assertion
failed
> (err) abrting..
>
> This is now displayed in a messagebox.
>
> I thought there was a bug fix for this?
>
> Is anydoby elese getting this or am I doing something wrong ?
>
> Thankss
> Paul
> _______________________________________________
> Mono-list maillist - [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
>
#include <windows.h>
void main ()
{
TIME_ZONE_INFORMATION tz_info;
FILETIME ft;
int i, err;
err = GetTimeZoneInformation (&tz_info);
printf ("RES: %d %s %d %d.\n", err, tz_info.StandardName,
TIME_ZONE_ID_STANDARD, TIME_ZONE_ID_DAYLIGHT);
printf ("DATA: %d %d %d %d.\n", tz_info.StandardDate.wYear,
tz_info.StandardDate.wMonth, tz_info.StandardDate.wDayOfWeek,
tz_info.StandardDate.wDay);
tz_info.StandardDate.wYear = 2003;
err = SystemTimeToFileTime (&tz_info.StandardDate, &ft);
if (!err) {
printf ("FAILED: %d.\n", GetLastError ());
}
}