Ed,
Is there any chance that is a small enough snippet of code that you can post here?
>I've got a predefined button on my VC++ that pops up a box, prompts me for a RegExp and then search my INCLUDES files on a toolbar. I just cut from MSDN, fire up VC++, pop the button on the toolbar and wait while iot does the search.