flat assembler
Message board for the users of flat assembler.

Index > Windows > CreateThread with STARTUPINFO

Goto page Previous  1, 2, 3
Author
Thread Post new topic Reply to topic
Alphonso



Joined: 16 Jan 2007
Posts: 295
Alphonso 26 Nov 2010, 05:57
Overflowz wrote:

Alphonso
No luck.

Not sure why it didn't work for you. Replacing main and MSGProc with your first code on page 1 worked here but as Rev said just the ret to exit can be a little naughty. With ExitProcess you should hopefully see the created(s) thread cleaned up as well where as with just ret the created thread(s) might be left running still.

If your interested in hooking just to set the window position you could unhook as soon as you capture the activate command by placing the UnhookWindowsHookEx just before the SetWindowPos call.

Good to see your making progress. Smile
Post 26 Nov 2010, 05:57
View user's profile Send private message Reply with quote
Overflowz



Joined: 03 Sep 2010
Posts: 1046
Overflowz 26 Nov 2010, 09:42
Hmm thanks all I'll figure it out later Wink
Post 26 Nov 2010, 09:42
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.