Click here to Skip to main content
15,887,214 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: No Errors but wrong values on return? Pin
Richard MacCutchan26-Jul-18 22:08
mveRichard MacCutchan26-Jul-18 22:08 
SuggestionRe: No Errors but wrong values on return? Pin
David Crow26-Jul-18 17:14
David Crow26-Jul-18 17:14 
GeneralRe: No Errors but wrong values on return? Pin
GESY27-Jul-18 4:02
GESY27-Jul-18 4:02 
GeneralRe: No Errors but wrong values on return? Pin
GESY27-Jul-18 4:49
GESY27-Jul-18 4:49 
AnswerRe: No Errors but wrong values on return? Pin
David Crow27-Jul-18 4:53
David Crow27-Jul-18 4:53 
AnswerRe: No Errors but wrong values on return? Pin
Richard MacCutchan27-Jul-18 1:13
mveRichard MacCutchan27-Jul-18 1:13 
GeneralRe: No Errors but wrong values on return? Pin
GESY27-Jul-18 3:58
GESY27-Jul-18 3:58 
GeneralRe: No Errors but wrong values on return? Pin
GESY27-Jul-18 4:53
GESY27-Jul-18 4:53 
I tested your lines of code, and now I can see what I was looking for!

Well done, plus you even give an explanation of the fields and what they do.

( You told me: dwProductVersionMS, contains the major fields, HIWORD, LOWORD e.g. 10, 0
dwProductVersionLS, contains the minor fields as above, e.g. 17134, 48

)
Excellent!

I must ask you, you using %d but I had seen %u
I believe one is for a integer and the other for a long ?
Which one is correct or does that matter based on the function we testing?

And finally in programming which value would you do a test for?
Using dwFileVersionMS, The result was 5.82
Using dwProductVersionMS The result was 6.1

And before I go...... 1000 of thanks !!
AnswerRe: No Errors but wrong values on return? Pin
David Crow27-Jul-18 4:57
David Crow27-Jul-18 4:57 
GeneralRe: No Errors but wrong values on return? Pin
Richard MacCutchan27-Jul-18 5:10
mveRichard MacCutchan27-Jul-18 5:10 
GeneralRe: No Errors but wrong values on return? Pin
GESY28-Jul-18 8:43
GESY28-Jul-18 8:43 
GeneralRe: No Errors but wrong values on return? Pin
GESY28-Jul-18 8:45
GESY28-Jul-18 8:45 
GeneralRe: No Errors but wrong values on return? Pin
Richard MacCutchan28-Jul-18 9:01
mveRichard MacCutchan28-Jul-18 9:01 
GeneralRe: No Errors but wrong values on return? Pin
GESY28-Jul-18 11:13
GESY28-Jul-18 11:13 
GeneralRe: No Errors but wrong values on return? Pin
Richard MacCutchan28-Jul-18 22:08
mveRichard MacCutchan28-Jul-18 22:08 
GeneralRe: No Errors but wrong values on return? Pin
GESY29-Jul-18 6:00
GESY29-Jul-18 6:00 
QuestionCreateProcess lpApplicationName param Pin
ForNow23-Jul-18 16:16
ForNow23-Jul-18 16:16 
AnswerRe: CreateProcess lpApplicationName param Pin
Richard MacCutchan23-Jul-18 22:46
mveRichard MacCutchan23-Jul-18 22:46 
SuggestionRe: CreateProcess lpApplicationName param Pin
Jochen Arndt23-Jul-18 22:56
professionalJochen Arndt23-Jul-18 22:56 
GeneralRe: CreateProcess lpApplicationName param Pin
Richard MacCutchan23-Jul-18 23:09
mveRichard MacCutchan23-Jul-18 23:09 
AnswerRe: CreateProcess lpApplicationName param Pin
Jochen Arndt23-Jul-18 22:55
professionalJochen Arndt23-Jul-18 22:55 
GeneralRe: CreateProcess lpApplicationName param Pin
ForNow23-Jul-18 23:35
ForNow23-Jul-18 23:35 
GeneralRe: CreateProcess lpApplicationName param Pin
Jochen Arndt23-Jul-18 23:55
professionalJochen Arndt23-Jul-18 23:55 
GeneralRe: CreateProcess lpApplicationName param Pin
ForNow24-Jul-18 1:42
ForNow24-Jul-18 1:42 
QuestionTechnical Interview Preparation Pin
Member 1392070221-Jul-18 0:50
Member 1392070221-Jul-18 0:50 

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.