Re: Windows SetLocalTime

2006-12-13 Thread Podi
Thank you. It works :-) P Rob Williscroft wrote: > Ok I see, you will probably need these 2 bits of the ctypes > documentation: > > http://docs.python.org/lib/ctypes-structures-unions.html > http://docs.python.org/lib/ctypes-pointers.html > > From there on geting to this is farly straight fo

Re: Windows SetLocalTime

2006-12-13 Thread Rob Williscroft
Podi wrote in news:[EMAIL PROTECTED] in comp.lang.python: > Rob Williscroft wrote: >> >> Google will usually find the documentation of anything in the >> Windows API however sometimes it also helps to add "msdn" to >> your search as in: > Yes, thank you. > > I found the function SetLocalTime or

Re: Windows SetLocalTime

2006-12-13 Thread Podi
Yes, thank you. I found the function SetLocalTime or SetSystemTime to set the time from MSDN http://msdn2.microsoft.com/en-us/library/ms724942.aspx. I am having trouble passing parameter to the functions in Python. Rob Williscroft wrote: > > Google will usually find the documentation of anything

Re: Windows SetLocalTime

2006-12-13 Thread Rob Williscroft
Podi wrote in news:[EMAIL PROTECTED] in comp.lang.python: > I am trying to set the system time on my Windows computer, but avoid > using the DOS command (date, time). > > Does anyone know what parameter to pass to function SetLocalTime? http://msdn.microsoft.com/library/default.asp?url=/library

Windows SetLocalTime

2006-12-13 Thread Podi
I am trying to set the system time on my Windows computer, but avoid using the DOS command (date, time). Does anyone know what parameter to pass to function SetLocalTime? CSharp ref http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_thread/thread/813b4ef504f77a43/24fc3