--- In [email protected], "qzzyyx" <blackh...@...> wrote: > > I have a PowerPro button: > > Command: d:\tcmd9\tcc.exe > Start: Hidden > Parameters: /c start > %...@regquery["HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\ProjectMRUList\File1"] > > TCC.EXE is the second-latest version of what was the 4NT command > interpreter. My PowerPro button effectively starts Microsoft's DevEnv > with my last project active. > > But if there's already an instance of d:\tcmd9\tcc.exe running, and I > click the PowerPro button, the running instance becomes hidden (and > the desired task gets gone, so I suspect PowerPro is also starting a > new, hidden, instance). > > Even stranger, if an instance of d:\tcmd10\tcc.exe, a newer version, > is running, the same thing happens. > > I don't think TCC.EXE does any DDE (i.e., you can't give a command to > an already running instance). So what's happening? Is PowerPro doing > exactly what I said (starting a new instance) and, in the process, > hiding every instance of any TCC.EXE it can find? > > In any event, how can I stop that? > > Thanks. > > - Vince >
If you are not using "switch-to-if-active", then I believe that all PowerPro is doing is using the Windows system routine "ShellExecuteEx" to run the command line; the hidden parameter is just passed onto this routine which has an equivalent flag. So as best I can tell what you are seeing is some kind of interaction between the Windows system and tcc (which can sense other instances and take action based on this as part of startup). I am not sure what you are using tcc rather than just running the dev environment or using Windows start command, but all I can suggest is either starting a different way or using a PowerPro script to sense if a tcc instance is running and then doing something different to start.
