My applicacion when it is shut down, is exiting with 2 exit codes...
-1 and 2
This is a Dialog Based application with an OCX Tab Control.
Why my thread isn't exiting with exit code number = 0?
Actually, messages in debug window are:
The thread 0xFFCA0331 has exited with code -1 (0xFFFFFFFF)
The thread 0xFFCA0C25 has exited with code 2 (0x2)
What does it mean?