Excellent "sleuthing" by Christophe there :-)

Yes, this has to do with the console still being referenced. If you look in Task Manager at the time the messagebox id displayed, you will see that the original KIX32 instance has actually closed, so all you are looking at is the empty console (with CMD.EXE attached to it).

Kind regards,

Ruud