News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Way besides ExitProcess to exit a program?

Started by henry.chris, March 01, 2013, 05:36:20 PM

Previous topic - Next topic

jj2007

Quote from: Quan on June 26, 2025, 12:53:28 PMReally sorry for reviving a thread from 2013

Don't worry, it's still an interesting topic. ExitProcess is a safe way out, "ret" requires that the stack is still ok - unlikely in many cases...

NoCforMe

Yes, and I still don't get it: what's the problem with using ExitProcess()?
32-bit code and Windows 7 foreva!

Vortex

Hi Quan,

ExitThread : Ends only current thread.

NoCforMe

Looks like you answered a question nobody asked.
32-bit code and Windows 7 foreva!