I was wondering if there is a way to make specified code, most likely a function, run before the program quits out due to the user logging out etc.
I'm writing a Win32 app with no window in Dev C++. (if that makes any difference)
I've been searching a bit but can't find anything close to what I'm looking for so any help would be greatly appreciated. If you need any more info just ask, since I have no idea what this would entail.
Thanks in advance.