[Mono-list] Mono 0.28 - Still fails under windows 2000 P

Varga Zoltan vargaz@freemail.hu
Sun, 5 Oct 2003 13:53:00 +0200 (CEST)


--0-1804289383-1065354780=:87101
Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-2
Content-Transfer-Encoding: QUOTED-PRINTABLE


                                           Hi,

  Could somebody who is experiencing this problem run the
attached
test program and send me the results ?

                       thanks

                                Zoltan



Paul Paximadis <ppaximadis@websoft.co.za> =EDrta:

> 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.
>=20
> ** ERROR **: file icall.c: line
>
3145(ves_icall_System_CurrentTimeZone_GetTimeZoneData):assertion
failed
> (err) abrting..
>=20
> This is now displayed in a messagebox.
>=20
> I thought there was a bug fix for this?
>=20
> Is anydoby elese getting this or am I doing something wrong ?
>=20
> Thankss
> Paul
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>=20
>=20
>=20


--0-1804289383-1065354780=:87101
Content-Type: TEXT/plain; name="tztest.c"; CHARSET=ISO-8859-2
Content-Disposition: attachment; filename="tztest.c"

#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 ());
	}	
}

--0-1804289383-1065354780=:87101--