Click here to Skip to main content
15,900,108 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: EnumProcesses Pin
Randor 11-Sep-07 20:53
professional Randor 11-Sep-07 20:53 
QuestionMS OFFICE File Open Save Dialog Hooking Pin
JuggernautMsn11-Sep-07 14:00
JuggernautMsn11-Sep-07 14:00 
AnswerRe: MS OFFICE File Open Save Dialog Hooking Pin
Mark Salsbery11-Sep-07 15:14
Mark Salsbery11-Sep-07 15:14 
GeneralRe: MS OFFICE File Open Save Dialog Hooking Pin
JuggernautMsn11-Sep-07 15:19
JuggernautMsn11-Sep-07 15:19 
QuestionWhat's the diff between DLLs ? Pin
USAFHokie8011-Sep-07 10:16
USAFHokie8011-Sep-07 10:16 
AnswerRe: What's the diff between DLLs ? Pin
Chris Losinger11-Sep-07 10:38
professionalChris Losinger11-Sep-07 10:38 
GeneralRe: What's the diff between DLLs ? Pin
USAFHokie8011-Sep-07 10:59
USAFHokie8011-Sep-07 10:59 
GeneralRe: What's the diff between DLLs ? Pin
Chris Losinger11-Sep-07 11:17
professionalChris Losinger11-Sep-07 11:17 
USAFHokie80 wrote:
so then the "regular dll that uses MFC" can't contain classes?


it can contain them, sure. you can even export them: (for example).

but if you want to export C++ classes, you'll really should use an MFC extension DLL. most importantly, this ensures that the app and the DLL are using the same heap for memory allocation - don't want to pass a CString which has allocated memory into a DLL which is looking at a different heap...

or, as MS puts it: "If you need to pass an MFC or MFC-derived object pointer to or from an MFC DLL, the DLL should be an extension DLL."


GeneralRe: What's the diff between DLLs ? Pin
USAFHokie8011-Sep-07 11:29
USAFHokie8011-Sep-07 11:29 
GeneralRe: What's the diff between DLLs ? Pin
Mark Salsbery11-Sep-07 11:50
Mark Salsbery11-Sep-07 11:50 
GeneralRe: What's the diff between DLLs ? Pin
led mike11-Sep-07 11:49
led mike11-Sep-07 11:49 
QuestionAdd drop shadow to a child dialog Pin
dSolariuM11-Sep-07 6:09
dSolariuM11-Sep-07 6:09 
AnswerRe: Add drop shadow to a child dialog Pin
Stephen Hewitt11-Sep-07 14:30
Stephen Hewitt11-Sep-07 14:30 
QuestionRe: Add drop shadow to a child dialog Pin
nitin311-Sep-07 21:10
nitin311-Sep-07 21:10 
AnswerRe: Add drop shadow to a child dialog Pin
Stephen Hewitt11-Sep-07 21:18
Stephen Hewitt11-Sep-07 21:18 
QuestionRe: Add drop shadow to a child dialog Pin
balaji16719-Feb-14 19:26
balaji16719-Feb-14 19:26 
QuestionHow to change the screen orientation (mirror effect)? Pin
iasouza11-Sep-07 4:18
iasouza11-Sep-07 4:18 
AnswerRe: How to change the screen orientation (mirror effect)? Pin
Waldermort11-Sep-07 21:39
Waldermort11-Sep-07 21:39 
Questiondebugging a dll on command line Pin
Orkun GEDiK11-Sep-07 4:10
Orkun GEDiK11-Sep-07 4:10 
AnswerRe: debugging a dll on command line Pin
Cedric Moonen11-Sep-07 5:00
Cedric Moonen11-Sep-07 5:00 
GeneralRe: debugging a dll on command line Pin
Orkun GEDiK11-Sep-07 5:40
Orkun GEDiK11-Sep-07 5:40 
AnswerRe: debugging a dll on command line Pin
aks.11-Sep-07 5:56
aks.11-Sep-07 5:56 
GeneralRe: debugging a dll on command line Pin
carrivick11-Sep-07 9:52
carrivick11-Sep-07 9:52 
GeneralRe: debugging a dll on command line Pin
Orkun GEDiK11-Sep-07 20:18
Orkun GEDiK11-Sep-07 20:18 
GeneralRe: debugging a dll on command line Pin
carrivick11-Sep-07 22:26
carrivick11-Sep-07 22:26 

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.