Re: cambiar hora que los programas ejecutados con wine ven
El mar, 17-10-2006 a las 23:29 +0200, Rober Morales escribió:
> Hola!
>
> ¿Alguien sabe como poder ejecutar un programa .exe con wine y que piense que
> la hora del sistema es distinta, pongamos una hora más o menos?
>
>
> Un saludo!
>
no utilizo wine, pero me ha parecido curiosa tu pregunta, tal vez esto no te sirva, y
haya otras respuestas más concretas.
Si metieras tu la informacion alterada??
http://source.winehq.org/WineAPI/GetSystemTime.html
920 /*********************************************************************
921 * GetSystemTime (KERNEL32.@)
922 *
923 * Get the current system time.
924 *
925 * PARAMS
926 * systime [O] Destination for current time.
927 *
928 * RETURNS
929 * Nothing.
930 */
931 VOID WINAPI GetSystemTime(LPSYSTEMTIME systime)
932 {
933 FILETIME ft;
934 LARGE_INTEGER t;
935
936 NtQuerySystemTime(&t);
937 ft.dwLowDateTime = t.u.LowPart;
938 ft.dwHighDateTime = t.u.HighPart;
939 FileTimeToSystemTime(&ft, systime);
940 }
[1] http://source.winehq.org/source/dlls/kernel32/time.c
En realidad ni idea... pero en wine-devel seguro ke te ayudan
Sapere Aude.
--
Javier Ruano <javier.ruano@estudiante.uam.es>
Reply to: