Mike -
Thanks. I've tried this, and everything appears to be working apart from the fact that I still can't set breakpoints :-( The executive summary is that VS reports that it has loaded the module and its symbols, but behaves as though it hasn't.
Are there any known bugs with Vista Beta 2 and debugging?
The detailed steps I've tried are outlined below...
I deployed the module using the IIS Configuration Manager. After I attach to W3WP, the VS Modules Window reports that IIS7NativeModuleSample.dll is loaded, together with its symbols file (dll & pdb are in the same location). I've also tried moving the PDB, and then loading it manually using Load Symbols on the Modules window context menu... same behaviour.
I also changed the sample code so that it will throw an access violation, and set VS to break on Win32 exceptions; this broke into the sample code, but only shows me assembly code....