Click here to Skip to main content
15,895,667 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Error message running exe Pin
Luc Pattyn28-Mar-11 14:37
sitebuilderLuc Pattyn28-Mar-11 14:37 
AnswerRe: Error message running exe Pin
Albert Holguin28-Mar-11 15:36
professionalAlbert Holguin28-Mar-11 15:36 
AnswerRe: Error message running exe Pin
Hans Dietrich28-Mar-11 16:25
mentorHans Dietrich28-Mar-11 16:25 
GeneralRe: Error message running exe Pin
Albert Holguin28-Mar-11 17:45
professionalAlbert Holguin28-Mar-11 17:45 
AnswerRe: Error message running exe Pin
Nitheesh George28-Mar-11 20:27
Nitheesh George28-Mar-11 20:27 
GeneralRe: Error message running exe Pin
Cyclone_S29-Mar-11 14:02
Cyclone_S29-Mar-11 14:02 
AnswerRe: Error message running exe Pin
malaugh31-Mar-11 13:05
malaugh31-Mar-11 13:05 
QuestionPreprocessor directives - resources Pin
bob1697228-Mar-11 5:36
bob1697228-Mar-11 5:36 
I have a typical MFC MDI application that was built with the wizards. I have been using the resources as they are provided but I am now faced with the need to be able to compile/maintain the same code base with multiple application identities (this includes company name, application name, application title, file extensions, icons, verbs, etc...).

Some of this will be handled by maintaining multiple installer solutions to handle file associations, registry stuff, verbs, etc...) but I have not figured out how to handle the stuff that exists in the resource files. For example, the string for IDR_MAINFRAME and AFX_IDS_APP_TITLE need to be sensitive to a preprocessor directive or something similar in nature.

I'm guessing if I try messing with the .rc file directly, I will have trouble as I edit stuff via the GUI down the road.

Is there a way to modify some of those resources based on a preprocessor directive(or something similar) without introducing maintenance isssues?
AnswerRe: Preprocessor directives - resources Pin
Richard MacCutchan28-Mar-11 5:58
mveRichard MacCutchan28-Mar-11 5:58 
GeneralRe: Preprocessor directives - resources Pin
bob1697228-Mar-11 7:45
bob1697228-Mar-11 7:45 
GeneralRe: Preprocessor directives - resources Pin
bob1697228-Mar-11 8:11
bob1697228-Mar-11 8:11 
GeneralRe: Preprocessor directives - resources Pin
Richard MacCutchan28-Mar-11 9:06
mveRichard MacCutchan28-Mar-11 9:06 
GeneralRe: Preprocessor directives - resources Pin
bob1697228-Mar-11 17:02
bob1697228-Mar-11 17:02 
GeneralRe: Preprocessor directives - resources Pin
Richard MacCutchan28-Mar-11 22:26
mveRichard MacCutchan28-Mar-11 22:26 
GeneralRe: Preprocessor directives - resources Pin
Chris Meech28-Mar-11 9:15
Chris Meech28-Mar-11 9:15 
GeneralRe: Preprocessor directives - resources Pin
bob1697228-Mar-11 17:09
bob1697228-Mar-11 17:09 
AnswerRe: Preprocessor directives - resources Pin
cp987628-Mar-11 19:29
cp987628-Mar-11 19:29 
GeneralRe: Preprocessor directives - resources Pin
bob1697229-Mar-11 3:18
bob1697229-Mar-11 3:18 
GeneralRe: Preprocessor directives - resources Pin
cp987629-Mar-11 18:38
cp987629-Mar-11 18:38 
QuestionCan we stop and .exe from anthoer .exe Pin
pandit8428-Mar-11 1:08
pandit8428-Mar-11 1:08 
AnswerRe: Can we stop and .exe from anthoer .exe Pin
Nitheesh George28-Mar-11 2:24
Nitheesh George28-Mar-11 2:24 
GeneralRe: Can we stop an .exe from anthoer .exe Pin
pandit8428-Mar-11 2:30
pandit8428-Mar-11 2:30 
AnswerRe: Can we stop an .exe from anthoer .exe Pin
Rajesh R Subramanian28-Mar-11 2:46
professionalRajesh R Subramanian28-Mar-11 2:46 
GeneralRe: Can we stop an .exe from anthoer .exe Pin
Cedric Moonen28-Mar-11 3:00
Cedric Moonen28-Mar-11 3:00 
GeneralRe: Can we stop an .exe from anthoer .exe Pin
CPallini28-Mar-11 3:12
mveCPallini28-Mar-11 3:12 

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.