flat assembler
Message board for the users of flat assembler.
Index
> Windows > Invoke windows system date and time dialogbox |
Author |
|
Kevin_Zheng 08 Jun 2006, 01:50
Dear all:
If we want to invoke windows system date and time dialogbox to change system date and time, we can use those command to do it: Code: rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,,0 ;0--DateTime 1--TimeZone Here is a simple demo program, please check it. Thanks. Kevin Zheng June 8th, 2006
|
|||||||||||
08 Jun 2006, 01:50 |
|
LocoDelAssembly 08 Jun 2006, 02:04
Works fine on my WinXP SP2. Is not posible to achieve this without using rundll32.exe ?
Regards |
|||
08 Jun 2006, 02:04 |
|
Quantum 08 Jun 2006, 02:41
rundll is intended mostly for scripts. In a real program it's better to invoke dll functions directly.
|
|||
08 Jun 2006, 02:41 |
|
UCM 08 Jun 2006, 23:38
Try using LoadLibrary/GetProcAddress
|
|||
08 Jun 2006, 23:38 |
|
UCM 09 Jun 2006, 21:02
Importing the function keeps the file size small too.
|
|||
09 Jun 2006, 21:02 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.