Click here to Skip to main content
15,923,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMaking a program core dump in Windows Pin
Andrei B19-Oct-05 10:14
Andrei B19-Oct-05 10:14 
AnswerRe: Making a program core dump in Windows Pin
Shog919-Oct-05 10:53
sitebuilderShog919-Oct-05 10:53 
QuestionError code 0 while sending on socket Pin
FASTian19-Oct-05 9:31
FASTian19-Oct-05 9:31 
QuestionRe: Error code 0 while sending on socket Pin
David Crow19-Oct-05 10:08
David Crow19-Oct-05 10:08 
AnswerRe: Error code 0 while sending on socket Pin
FASTian19-Oct-05 19:58
FASTian19-Oct-05 19:58 
AnswerRe: Error code 0 while sending on socket Pin
User 58385219-Oct-05 21:11
User 58385219-Oct-05 21:11 
QuestionMFC Dialog in Static Library Pin
clintsinger19-Oct-05 8:39
clintsinger19-Oct-05 8:39 
AnswerRe: MFC Dialog in Static Library Pin
Shog919-Oct-05 11:43
sitebuilderShog919-Oct-05 11:43 
clintsinger wrote:
Is it possible to have a dialog defined in static library with MFC support?

Yes. But since you can't link resource templates into static libraries, you'll need to remember to do so in the app that uses them. For instance:
  • Clint.exe links with ClintLib.lib, and has resources specified in Clint.rc
  • ClintLib.lib contains class for dialog, template for dialog is defined in ClintLib.rc
  • Clint.rc must #include ClintLib.rc in order for those resources to be available at runtime.



GeneralRe: MFC Dialog in Static Library Pin
clintsinger19-Oct-05 14:06
clintsinger19-Oct-05 14:06 
QuestionHow to set the text of a CEdit to include a newline? Pin
Atom19-Oct-05 8:15
Atom19-Oct-05 8:15 
AnswerRe: How to set the text of a CEdit to include a newline? Pin
David Crow19-Oct-05 9:10
David Crow19-Oct-05 9:10 
AnswerRe: How to set the text of a CEdit to include a newline? Pin
Ghasrfakhri19-Oct-05 9:15
Ghasrfakhri19-Oct-05 9:15 
GeneralRe: How to set the text of a CEdit to include a newline? Pin
David Crow19-Oct-05 10:06
David Crow19-Oct-05 10:06 
QuestionPreventing the resizing of a window Pin
Dilpo19-Oct-05 7:13
Dilpo19-Oct-05 7:13 
AnswerRe: Preventing the resizing of a window Pin
Maximilien19-Oct-05 7:34
Maximilien19-Oct-05 7:34 
GeneralRe: Preventing the resizing of a window Pin
Dilpo19-Oct-05 7:36
Dilpo19-Oct-05 7:36 
QuestionTransparent temporaries..? Pin
Bob Stanneveld19-Oct-05 7:07
Bob Stanneveld19-Oct-05 7:07 
AnswerRe: Transparent temporaries..? Pin
BadKarma19-Oct-05 9:08
BadKarma19-Oct-05 9:08 
GeneralRe: Transparent temporaries..? Pin
Bob Stanneveld19-Oct-05 10:11
Bob Stanneveld19-Oct-05 10:11 
GeneralRe: Transparent temporaries..? Pin
BadKarma19-Oct-05 20:55
BadKarma19-Oct-05 20:55 
GeneralRe: Transparent temporaries..? Pin
Bob Stanneveld20-Oct-05 0:56
Bob Stanneveld20-Oct-05 0:56 
AnswerRe: Transparent temporaries..? Pin
BadKarma19-Oct-05 23:00
BadKarma19-Oct-05 23:00 
Questionhow to use a class to be a utility class of another class? Pin
knightz10119-Oct-05 6:29
knightz10119-Oct-05 6:29 
AnswerRe: how to use a class to be a utility class of another class? Pin
Maximilien19-Oct-05 6:50
Maximilien19-Oct-05 6:50 
AnswerRe: how to use a class to be a utility class of another class? Pin
Bob Stanneveld19-Oct-05 8:12
Bob Stanneveld19-Oct-05 8: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.