Re: catching first chance exception question

2004-02-27 Thread Eric Pouech
Robert Reif a écrit : I'm looking at how windows deals with invalid parameters in some of the winmm functions and it raises some questions. Sometimes they will check the parameters and return an error code and sometimes they will let a bad parameter cause a first-chance exception and catch it and r

catching first chance exception question

2004-02-26 Thread Robert Reif
I'm looking at how windows deals with invalid parameters in some of the winmm functions and it raises some questions. Sometimes they will check the parameters and return an error code and sometimes they will let a bad parameter cause a first-chance exception and catch it and return an error code.