flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Madis731 09 Jun 2006, 10:05
The question isn't very clear to me, but it seems that the answer you are looking for doesn't exist.
I've tested many applications with OllyDBG and rare cases are when a process can survive a debugging session and continue later. If you would please describe more accurately the problem you have I think someone on the boards can help, but I think that suspending a process for a while doesn't seem very possible. Just a quick link here: http://www.sysinternals.com/ProcessesAndThreadsUtilities.html Maybe it helps. |
|||
![]() |
|
DMD 09 Jun 2006, 10:25
Madis731 wrote: The question isn't very clear to me, but it seems that the answer you are looking for doesn't exist. I spoke about algorithm Pause\Continue inside Dialog procedure or main programm. Of course, using Olly as "button Pause" is possibile but not best choice. Best way is somekind program`s algorithm. ![]() |
|||
![]() |
|
shoorick 09 Jun 2006, 10:45
try this toy. shoolib can be found in projects&ideas.
-- oi! ![]() -- new ver below _________________ UNICODE forever! Last edited by shoorick on 10 Jun 2006, 06:31; edited 2 times in total |
|||
![]() |
|
DMD 09 Jun 2006, 10:49
2Shoorick
Thanks Alot! Will test it! |
|||
![]() |
|
Reverend 09 Jun 2006, 11:58
DMD: Use threads. Windows as a multithreaded OS allows you to use several at once. It means that at one time you can execute more than one code.
For your purpose, create normal dialog as always. Every calculations (or whatever you want to pause/continue) place in other procedure (named eg. ThreadProc). Then you create a new thread with it's starting address as ThreadProc. You save the returned thread handle, and having it - you can easily suspend/resoume that calucaltions thread. You'll have to use such APIs: CreateThread, SuspendThread, ResumeThread - all info about them is in win32 reference. |
|||
![]() |
|
shoorick 10 Jun 2006, 06:31
this is new version: without shoolib
![]()
_________________ UNICODE forever! |
|||||||||||
![]() |
|
DMD 13 Jun 2006, 11:22
2shoorick
Simply there are no words... Best regards! |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.