|
Handling build.cancel with spawned applications -- justin --
I run perforces' Jam to build my applications on various platforms. Under VS 2003 I was able to install a break handler in a modified version of jam and capture breaks sent by Build.Cancel within studio. There is some clean up I like to do when the build is cancelled. Under VS 2005 it seems that the process is terminated when I cancel the build in a way that is not caught by my break handler installed with SetConsoleCtrlHandler. I don't know a lot about processes under windows but from my reading so far perhaps the build is now stopped with a KillProcess and the process has no way of intercepting that and doing additional work? Thanks for any advice. Justin ______________________________________________________________ Email gratis 4 MB dengan fasilitas POP3 dan SMTP. Kunjungi Indonesia Interactive http://www.i2.co.id . |