This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Using grepWin with uVision in Windows 7

I've never had good results when searching with regular expressions in uVision, so I started using grepWin many years ago.

My problem is that since Windows 7 and the changes with how double-clicking files with file-type associations works (or rather doesn't), every time I double click on a search result in grepWin it opens a new instance of uVision instead of opening the file in a new editor window.

Does anyone know how to fix this? My goal is that when double-clicking on a search result in grepWin that line of code shows up in a new window of uVision (rather than starting a new instance of uVision).

Thanks,
Dave

Parents
  • Hasn't it always been the applications that must figure out if another instance of the same application is already running and then decide if you should get multiple instances or if the file name should be sent to the other instance to have it open a new window?

Reply
  • Hasn't it always been the applications that must figure out if another instance of the same application is already running and then decide if you should get multiple instances or if the file name should be sent to the other instance to have it open a new window?

Children
  • Per, I'm not sure. However, after temporarily giving up on this topic I entered my regular expression search in the uVision4 find-in-files box and lo and behold... it worked properly. That was quite a surprise. Perhaps that functionality works better now than all the times I've tried it in the past. I'm not giving up on finding the answer to my original post, as I really like grepWin (especially the feature where you can incrementally build up search/replace expressions with test data to try it out on before committing to executing it).

    Prior versions of Windows made solving these kinds of problems easier, I think, since you could edit so much more relative to file associations and commands. Windows 7 seems to have taken a step backwards in this regard, as there doesn't seem to be any (easy?) way to do anything besides associate a file extension with an application... you can't add/edit/remove commands associated with these file extension associations :-(

    Dave