Click here to Skip to main content
15,913,587 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Computer Hangs as soon as any MFC file is executed... Pin
Nish Nishant10-Aug-03 23:19
sitebuilderNish Nishant10-Aug-03 23:19 
GeneralRe: Computer Hangs as soon as any MFC file is executed... Pin
David Crow11-Aug-03 2:40
David Crow11-Aug-03 2:40 
GeneralSharing rights Pin
Member 42425910-Aug-03 22:46
Member 42425910-Aug-03 22:46 
GeneralRe: Sharing rights Pin
David Crow11-Aug-03 2:43
David Crow11-Aug-03 2:43 
GeneralRe: Sharing rights Pin
Member 42425911-Aug-03 20:27
Member 42425911-Aug-03 20:27 
GeneralRe: Sharing rights Pin
David Crow12-Aug-03 2:33
David Crow12-Aug-03 2:33 
GeneralProject Templates - VC6 Pin
peterchen10-Aug-03 22:40
peterchen10-Aug-03 22:40 
GeneralRe: Project Templates - VC6 Pin
Andrew Walker10-Aug-03 23:39
Andrew Walker10-Aug-03 23:39 
peterchen wrote:
I looked into custom appwizard, but it only generates default configurations.

I never seemed to be able to get it to work when it generates from another project properly either.

Alternatively, create a default project *similar* to what you want (MFC / DLL / Console), then add the source code, you can then use the text from the 'project->settings->link->project options' and 'project->settings->compile->project options' edit boxes to rebuild your compiler options.

I've found that custom appwizards can take quite a while to get exactly right - so if you can use a find and replace for a one off, do that instead.

Some Gotcha's for Custom Appwizards

in 'void CYourProjectAw::InitCustomAppWiz()' make sure that the dictionary sets the correct type of project. For example,

m_Dictionary[_T("PROJTYPE_CON")] = _T("1");

in 'void CYourProjectAw::CustomizeProject(IBuildProject* pProject)' you can set all the compiler options. MSDN / VC6 samples are the best source of info for this. It can be really painful to do this right, because it has to be done for the debug and release builds.


If you can keep you head when all about you
Are losing theirs and blaming it on you;
If you can dream - and not make dreams your master;
If you can think - and not make thoughts you aim;
Yours is the Earth and everything that's in it.

Rudyard Kipling

GeneralTrouble in ATL Pin
novachen10-Aug-03 22:40
novachen10-Aug-03 22:40 
GeneralRe: Trouble in ATL Pin
Mike Dimmick11-Aug-03 2:53
Mike Dimmick11-Aug-03 2:53 
GeneralUrgent help needed! Pin
vcseeker10-Aug-03 22:32
vcseeker10-Aug-03 22:32 
GeneralRe: Urgent help needed! Pin
wb10-Aug-03 23:08
wb10-Aug-03 23:08 
GeneralRe: Urgent help needed! Pin
vcseeker11-Aug-03 2:27
vcseeker11-Aug-03 2:27 
QuestionFlowChart Ctrl ? Pin
ScorpioMidget10-Aug-03 22:17
ScorpioMidget10-Aug-03 22:17 
Questionread file wrong? Pin
Member 43880310-Aug-03 21:19
Member 43880310-Aug-03 21:19 
GeneralAlt Key Pin
s o v a n n10-Aug-03 20:45
s o v a n n10-Aug-03 20:45 
GeneralRe: Alt Key Pin
PJ Arends10-Aug-03 20:58
professionalPJ Arends10-Aug-03 20:58 
Generaldetecting network capacity and type Pin
karanba10-Aug-03 20:43
karanba10-Aug-03 20:43 
GeneralDetecting memory leaks Pin
Imtiaz Murtaza10-Aug-03 20:32
Imtiaz Murtaza10-Aug-03 20:32 
GeneralRe: Detecting memory leaks Pin
Anthony_Yio11-Aug-03 0:51
Anthony_Yio11-Aug-03 0:51 
GeneralBind to picture control Pin
henli10-Aug-03 20:16
henli10-Aug-03 20:16 
Questionhow to catch "Access violation Exception" Pin
zecodela10-Aug-03 20:06
zecodela10-Aug-03 20:06 
AnswerRe: how to catch "Access violation Exception" Pin
Michael Dunn10-Aug-03 20:13
sitebuilderMichael Dunn10-Aug-03 20:13 
AnswerRe: how to catch "Access violation Exception" Pin
ullasd10-Aug-03 22:51
ullasd10-Aug-03 22:51 
GeneralRe: how to catch "Access violation Exception" Pin
Anthony_Yio11-Aug-03 0:52
Anthony_Yio11-Aug-03 0:52 

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.