flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
holdlang 13 Aug 2004, 14:02
Hi.
How can i make 1-2 sec delay on my fasm prog on windows? ty. |
|||
![]() |
|
roticv 13 Aug 2004, 14:15
Use Sleep
|
|||
![]() |
|
vid 13 Aug 2004, 19:54
by the way, Sleep is accurate only with values above 9 ms or so.
|
|||
![]() |
|
Madis731 13 Aug 2004, 21:47
I think that 1-2sec delay is above that limit, but this is not why it is not
accurate: Sleep is an idle event and the limit can be checked only for some times per second so if you have million threads, the Sleep is not at all accurate, because checking against limits will not happen very often and you are not guaranteed to get back from Sleep in the specified time, rather a few milliseconds later when TimePassed>Limit is definately true. |
|||
![]() |
|
holdlang 13 Aug 2004, 22:19
thx for the help i't works fine.
But.. I have another question ^^"" How can i use tab control in fasm? I't dont work at all. I made one simple tabcontrol vith visual studio. I load it with my prog and i't not work at all. Any idea? Thx for the help ![]() Oh and one more.. How can i sett to my richtext textbox to change it size when I maximize the whindow? |
|||
![]() |
|
roticv 14 Aug 2004, 04:23
For your last question, handle WM_SIZE or some relevant messages and call MoveWindow
|
|||
![]() |
|
Madis731 14 Aug 2004, 09:50
For your first one, please be more specific! What did you make in Visual Studio (exe, bin) and was the problem running the exe or using bin with FASM? If you could show us the tab control in FASM that does NOT work it would be helpful also
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.