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

C / C++ / MFC

 
AnswerRe: Getting Time Difference Pin
Andrew Brock4-Mar-11 20:06
Andrew Brock4-Mar-11 20:06 
Questionon button stop control transfers to a option button click code Pin
VCProgrammer3-Mar-11 20:14
VCProgrammer3-Mar-11 20:14 
QuestionRe: on button stop control transfers to a option button click code Pin
David Crow4-Mar-11 2:08
David Crow4-Mar-11 2:08 
AnswerRe: on button stop control transfers to a option button click code Pin
VCProgrammer4-Mar-11 18:09
VCProgrammer4-Mar-11 18:09 
AnswerRe: on button stop control transfers to a option button click code Pin
prasad_som4-Mar-11 2:36
prasad_som4-Mar-11 2:36 
QuestionSOLVED Application failed to initialize ?? [modified] Pin
Vaclav_3-Mar-11 13:48
Vaclav_3-Mar-11 13:48 
QuestionAdding a static library build Pin
softwaremonkey3-Mar-11 11:39
softwaremonkey3-Mar-11 11:39 
AnswerRe: Adding a static library build Pin
Andrew Brock3-Mar-11 16:06
Andrew Brock3-Mar-11 16:06 
In the toolbars at the top there is the configuration boxes, 1 containing Debug or Release and the other containing Win32. Drop down either of those boxes and select Configuration Manager.

From the Configuration Manager you can add extra configurations to each individual project.
Select the configuration (debug or release) next to your MFC DLL project and select <new> from the dropdown. Call it Static Debug (or anything else if you feel like it) and then change Copy settings from: to Debug.
Repeat again for Release, calling it Static Release.
If you want to change the default configuration from DLL to static LIB then you can change the Configuration type for the MFC DLL in the Configuraion Manager that is to be build with the Debug and Release compiles.
Close the Configuration Manager.

Now right click on the MFC DLL project in the solution explorer and select Project Properties.
Change the configuration at the top of the properties box to Static Debug, then go to the General page from the list at the left. change Configuration Type to Static Library.
Do the same for Static Release.

You may need to change a few other things as well, there is probably a definition in the C++>Preprocessor page for DLL or something that you will need to get rid of.
GeneralRe: Adding a static library build Pin
softwaremonkey3-Mar-11 19:44
softwaremonkey3-Mar-11 19:44 
QuestionRecursive CFileFind problem [modified] Pin
Mr_Gbg3-Mar-11 6:43
Mr_Gbg3-Mar-11 6:43 
AnswerRe: Recursive CFileFind problem Pin
Frank Seidler3-Mar-11 7:30
Frank Seidler3-Mar-11 7:30 
QuestionRe: Recursive CFileFind problem Pin
David Crow3-Mar-11 8:07
David Crow3-Mar-11 8:07 
AnswerRe: Recursive CFileFind problem Pin
Luc Pattyn3-Mar-11 8:47
sitebuilderLuc Pattyn3-Mar-11 8:47 
GeneralRe: Recursive CFileFind problem Pin
David Crow3-Mar-11 9:08
David Crow3-Mar-11 9:08 
GeneralRe: Recursive CFileFind problem Pin
Luc Pattyn3-Mar-11 9:18
sitebuilderLuc Pattyn3-Mar-11 9:18 
GeneralRe: Recursive CFileFind problem Pin
Mr_Gbg3-Mar-11 21:57
Mr_Gbg3-Mar-11 21:57 
QuestionRe: Recursive CFileFind problem Pin
David Crow3-Mar-11 8:05
David Crow3-Mar-11 8:05 
AnswerRe: Recursive CFileFind problem Pin
Mr_Gbg3-Mar-11 9:39
Mr_Gbg3-Mar-11 9:39 
AnswerRe: Recursive CFileFind problem Pin
Luc Pattyn3-Mar-11 9:32
sitebuilderLuc Pattyn3-Mar-11 9:32 
QuestionMaking the Disk Defragmenter a Modal dialog Pin
dipuks3-Mar-11 6:17
dipuks3-Mar-11 6:17 
AnswerRe: Making the Disk Defragmenter a Modal dialog Pin
Chris Meech3-Mar-11 6:39
Chris Meech3-Mar-11 6:39 
AnswerRe: Making the Disk Defragmenter a Modal dialog Pin
Luc Pattyn3-Mar-11 7:37
sitebuilderLuc Pattyn3-Mar-11 7:37 
QuestionMac and IP address problem Pin
trioum3-Mar-11 5:14
trioum3-Mar-11 5:14 
QuestionRe: Mac and IP address problem Pin
David Crow3-Mar-11 5:33
David Crow3-Mar-11 5:33 
AnswerRe: Mac and IP address problem Pin
trioum3-Mar-11 6:11
trioum3-Mar-11 6:11 

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.