Click here to Skip to main content
15,914,795 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to install dao database application? Pin
includeh1018-Jul-08 13:22
includeh1018-Jul-08 13:22 
AnswerRe: How to install dao database application? Pin
Garth J Lancaster18-Jul-08 13:48
professionalGarth J Lancaster18-Jul-08 13:48 
AnswerRe: How to install dao database application? Pin
bob1697219-Jul-08 16:50
bob1697219-Jul-08 16:50 
QuestionCross-session detection of running programs Pin
luweewu18-Jul-08 10:20
luweewu18-Jul-08 10:20 
AnswerRe: Cross-session detection of running programs [modified] Pin
Mark Salsbery18-Jul-08 11:33
Mark Salsbery18-Jul-08 11:33 
GeneralRe: Cross-session detection of running programs Pin
Randor 18-Jul-08 13:56
professional Randor 18-Jul-08 13:56 
GeneralRe: Cross-session detection of running programs Pin
Mark Salsbery19-Jul-08 7:19
Mark Salsbery19-Jul-08 7:19 
AnswerRe: Cross-session detection of running programs Pin
kinar18-Jul-08 12:09
kinar18-Jul-08 12:09 
In order to determine if specific applications are running during our installs, we simply try renaming it (or the directory that contains it).

For example, if I know the app is located in

C:\Program Files\MyApp\

in our installer, we rename C:\Program Files\MyApp\ to C:\Program Files\~MyApp\

If it succedes, we rename it back and continue (since windows wont let you move/rename/delete something that is currently running).

If it fails, we popup a message saying that the application is currently in use and to exit it and try the install again.

It isn't "pretty" by any means, however, this works in every version of windows available.
GeneralRe: Cross-session detection of running programs Pin
Stephen Hewitt20-Jul-08 13:38
Stephen Hewitt20-Jul-08 13:38 
GeneralRe: Cross-session detection of running programs Pin
kinar20-Jul-08 18:19
kinar20-Jul-08 18:19 
GeneralRe: Cross-session detection of running programs Pin
luweewu22-Jul-08 11:14
luweewu22-Jul-08 11:14 
AnswerRe: Cross-session detection of running programs Pin
luweewu24-Jul-08 7:31
luweewu24-Jul-08 7:31 
AnswerRe: Cross-session detection of running programs Pin
Big Daddy Farang18-Jul-08 12:23
Big Daddy Farang18-Jul-08 12:23 
QuestionHelp update window display Pin
Kwanalouie18-Jul-08 10:19
Kwanalouie18-Jul-08 10:19 
AnswerRe: Help update window display Pin
CPallini18-Jul-08 11:54
mveCPallini18-Jul-08 11:54 
QuestionCListCtrl and mods to bkgrnd colour Pin
john john mackey18-Jul-08 9:53
john john mackey18-Jul-08 9:53 
QuestionAdding ODBC RecordSet class to Mainfrm class Pin
Cozmo2318-Jul-08 8:38
Cozmo2318-Jul-08 8:38 
AnswerRe: Adding ODBC RecordSet class to Mainfrm class Pin
Mark Salsbery18-Jul-08 8:55
Mark Salsbery18-Jul-08 8:55 
AnswerRe: Adding ODBC RecordSet class to Mainfrm class Pin
David Crow18-Jul-08 10:04
David Crow18-Jul-08 10:04 
GeneralRe: Adding ODBC RecordSet class to Mainfrm class Pin
Cozmo2319-Jul-08 8:01
Cozmo2319-Jul-08 8:01 
QuestionSerial Com controlling DTR & RTS Pin
aei_totten18-Jul-08 8:05
aei_totten18-Jul-08 8:05 
AnswerRe: Serial Com controlling DTR & RTS Pin
aei_totten18-Jul-08 8:38
aei_totten18-Jul-08 8:38 
AnswerRe: Serial Com controlling DTR & RTS Pin
Gary R. Wheeler18-Jul-08 15:18
Gary R. Wheeler18-Jul-08 15:18 
AnswerRe: Serial Com controlling DTR & RTS Pin
Luc Pattyn18-Jul-08 15:43
sitebuilderLuc Pattyn18-Jul-08 15:43 
QuestionMakefile question Pin
JoeSox18-Jul-08 6:55
JoeSox18-Jul-08 6:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.