Click here to Skip to main content
15,888,984 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: recursive function Pin
CPallini17-May-10 22:45
mveCPallini17-May-10 22:45 
QuestionRe: recursive function Pin
David Crow19-May-10 3:52
David Crow19-May-10 3:52 
Questionsingel document app cannot recieve WM_KEYDOWN event Pin
dnqhung17-May-10 21:00
dnqhung17-May-10 21:00 
AnswerRe: singel document app cannot recieve WM_KEYDOWN event Pin
Aescleal18-May-10 5:12
Aescleal18-May-10 5:12 
GeneralRe: singel document app cannot recieve WM_KEYDOWN event Pin
dnqhung18-May-10 15:33
dnqhung18-May-10 15:33 
GeneralRe: singel document app cannot recieve WM_KEYDOWN event Pin
Aescleal18-May-10 22:38
Aescleal18-May-10 22:38 
GeneralRe: singel document app cannot recieve WM_KEYDOWN event Pin
dnqhung21-May-10 15:57
dnqhung21-May-10 15:57 
QuestionObtaining the version info of external app [solved] Pin
PaulowniaK17-May-10 19:43
PaulowniaK17-May-10 19:43 
I call LoadLibrary in my program to call up a 3rd party DLL which in turn runs some EXE.

I want to know the version info of this external EXE in my C++ program so I can decide whether to issue a particular command to the loaded DLL. Is there a way to do this?

I think I can get the path to the EXE from the registry, and of course, I know the name of the EXE.

If I don't check the version and send the command blindly, some quite nasty and inconvenient things happen (the hardware I'm trying to control with my program goes a bit nuts). I can ask the user to check the version of all the bits and pieces of software they have installed on their PC before running my program, but human error isn't always avoidable. I need an automatic way of ensuring that certain commands are NOT issued so that the operator doesn't have to spend an hour recovering the hardware from a limbo state.

Any help greatly appreciated.
Almost, but not quite, entirely unlike... me...
modified on Tuesday, May 18, 2010 2:50 AM

AnswerRe: Obtaining the version info of external app Pin
Stephen Hewitt17-May-10 20:42
Stephen Hewitt17-May-10 20:42 
GeneralRe: Obtaining the version info of external app Pin
PaulowniaK17-May-10 20:50
PaulowniaK17-May-10 20:50 
QuestionProblem with CreateFileMapping() window7/Vista. Pin
janaswamy uday17-May-10 19:41
janaswamy uday17-May-10 19:41 
AnswerRe: Problem with CreateFileMapping() window7/Vista. Pin
hanq_3891013017-May-10 20:59
hanq_3891013017-May-10 20:59 
AnswerRe: Problem with CreateFileMapping() window7/Vista. Pin
Richard MacCutchan17-May-10 21:37
mveRichard MacCutchan17-May-10 21:37 
Questionaudio chat Pin
69917-May-10 17:24
69917-May-10 17:24 
AnswerRe: audio chat Pin
Stephen Hewitt17-May-10 17:33
Stephen Hewitt17-May-10 17:33 
AnswerRe: audio chat Pin
Cedric Moonen17-May-10 20:20
Cedric Moonen17-May-10 20:20 
AnswerRe: audio chat Pin
CPallini17-May-10 23:23
mveCPallini17-May-10 23:23 
QuestionVisual Studio C++ Object Oriented Pin
RobNO17-May-10 12:26
professionalRobNO17-May-10 12:26 
AnswerRe: Visual Studio C++ Object Oriented Pin
chaau17-May-10 13:42
chaau17-May-10 13:42 
GeneralRe: Visual Studio C++ Object Oriented Pin
RobNO18-May-10 11:01
professionalRobNO18-May-10 11:01 
GeneralRe: Visual Studio C++ Object Oriented Pin
RobNO18-May-10 11:25
professionalRobNO18-May-10 11:25 
Questiondefine arrow keys in c Pin
hasani200717-May-10 10:23
hasani200717-May-10 10:23 
AnswerRe: define arrow keys in c Pin
Richard MacCutchan17-May-10 10:25
mveRichard MacCutchan17-May-10 10:25 
AnswerRe: define arrow keys in c Pin
David Crow17-May-10 10:28
David Crow17-May-10 10:28 
AnswerRe: kbhit() Pin
Software_Developer17-May-10 11:03
Software_Developer17-May-10 11:03 

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.