Click here to Skip to main content
16,009,391 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMFC SDI FormView - need multi-edit views Pin
braddenn24-Feb-04 11:55
braddenn24-Feb-04 11:55 
GeneralRe: MFC SDI FormView - need multi-edit views Pin
CodeBrain25-Feb-04 2:04
CodeBrain25-Feb-04 2:04 
GeneralDistinguish btwn click within and more than one second Pin
vancouver77724-Feb-04 11:08
vancouver77724-Feb-04 11:08 
GeneralRe: Distinguish btwn click within and more than one second Pin
PJ Arends24-Feb-04 14:43
professionalPJ Arends24-Feb-04 14:43 
Generalcontrol containers.. Pin
Kagehi24-Feb-04 10:33
Kagehi24-Feb-04 10:33 
GeneralRe: control containers.. Pin
Kagehi25-Feb-04 7:14
Kagehi25-Feb-04 7:14 
QuestionReferencing an external version resource? Pin
Ravi Bhavnani24-Feb-04 9:22
professionalRavi Bhavnani24-Feb-04 9:22 
AnswerRe: Referencing an external version resource? Pin
David Crow24-Feb-04 9:39
David Crow24-Feb-04 9:39 
The way I did this once was three-step. First I modified the version resource in the .rc file to:

#include "somefile.h"
VS_VERSION_INFO VERSIONINFO
  FILEVERSION MY_FILE_VERSION
  PRODUCTVERSION MY_PROD_VERSION
  ...
Then in the somefile.h file, I'd have:

#define MY_FILE_VERSION 1,2,3,4
#define MY_PROD_VERSION 1,2,0,3
Part of the build process was to run a little utility I wrote that parsed the somefile.h file and incremented the numbers accordingly.

Probably not the most elegant solution, but it worked for our situation.


"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
GeneralRe: Referencing an external version resource? Pin
Ravi Bhavnani24-Feb-04 9:45
professionalRavi Bhavnani24-Feb-04 9:45 
GeneralRe: Referencing an external version resource? Pin
David Crow24-Feb-04 9:56
David Crow24-Feb-04 9:56 
GeneralRe: Referencing an external version resource? Pin
Ravi Bhavnani24-Feb-04 11:09
professionalRavi Bhavnani24-Feb-04 11:09 
GeneralRe: Referencing an external version resource? Pin
David Crow24-Feb-04 15:43
David Crow24-Feb-04 15:43 
GeneralRe: Referencing an external version resource? Pin
Ravi Bhavnani25-Feb-04 5:40
professionalRavi Bhavnani25-Feb-04 5:40 
GeneralRe: Referencing an external version resource? Pin
Prakash Nadar24-Feb-04 14:04
Prakash Nadar24-Feb-04 14:04 
GeneralRe: Referencing an external version resource? Pin
Ravi Bhavnani25-Feb-04 5:36
professionalRavi Bhavnani25-Feb-04 5:36 
AnswerRe: Referencing an external version resource? Pin
Michael Dunn24-Feb-04 15:43
sitebuilderMichael Dunn24-Feb-04 15:43 
GeneralRe: Referencing an external version resource? Pin
Ravi Bhavnani25-Feb-04 5:39
professionalRavi Bhavnani25-Feb-04 5:39 
GeneralSockets Pin
Anonymous24-Feb-04 6:49
Anonymous24-Feb-04 6:49 
GeneralRe: Sockets Pin
Prakash Nadar24-Feb-04 14:00
Prakash Nadar24-Feb-04 14:00 
QuestionSingle-instance executable??? Pin
DanYELL24-Feb-04 6:37
DanYELL24-Feb-04 6:37 
AnswerRe: Single-instance executable??? Pin
David Crow24-Feb-04 6:51
David Crow24-Feb-04 6:51 
AnswerRe: Single-instance executable??? Pin
john.angel24-Feb-04 9:47
john.angel24-Feb-04 9:47 
GeneralReading Bitmaps from Clipboard Pin
siegfried_heintze24-Feb-04 6:28
siegfried_heintze24-Feb-04 6:28 
GeneralRe: Reading Bitmaps from Clipboard Pin
David Crow24-Feb-04 8:51
David Crow24-Feb-04 8:51 
GeneralHelp Teh N00b Again PLZ Pin
MrNiceBerG24-Feb-04 5:55
MrNiceBerG24-Feb-04 5: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.