Click here to Skip to main content
15,908,015 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhelp with fstream Pin
anbluemoon3-Jun-07 1:24
anbluemoon3-Jun-07 1:24 
AnswerRe: help with fstream Pin
CPallini3-Jun-07 4:02
mveCPallini3-Jun-07 4:02 
QuestionDLL and EXE files Pin
prithaa3-Jun-07 0:43
prithaa3-Jun-07 0:43 
AnswerRe: DLL and EXE files Pin
Christian Graus3-Jun-07 1:14
protectorChristian Graus3-Jun-07 1:14 
GeneralRe: DLL and EXE files Pin
Rajesh R Subramanian3-Jun-07 20:43
professionalRajesh R Subramanian3-Jun-07 20:43 
QuestionRe: DLL and EXE files Pin
Matthew Faithfull3-Jun-07 1:18
Matthew Faithfull3-Jun-07 1:18 
AnswerRe: DLL and EXE files Pin
prithaa3-Jun-07 1:42
prithaa3-Jun-07 1:42 
GeneralRe: DLL and EXE files Pin
Matthew Faithfull3-Jun-07 2:59
Matthew Faithfull3-Jun-07 2:59 
If you've made the classes through the exe AppWizard then it isn't going to be straight forward to try and package them in a Dll. I would suggest starting a new project, An empty Dll that supports/(is linked to) MFC. Then copy the classes you want into it starting with the simplest ones. Then you need to look into exporting the classes from the dll that you want to use. Check this page for a start.
http://msdn2.microsoft.com/en-us/library/3y1sfaz2(VS.71).aspx[^]
I would recommend experimenting a little with creating simple Dlls and using them from simple EXEs before bringing MFC into the picture. Because MFC tries to be a framework it has to assume a 'model' ie EXE or DLL when is generates application classes and the code you get is targetted at one or the other. Things like individual Dialog classes are easy enough to move into a Dll but the main Doc/View classes won't be. Good luck with it anyway Smile | :)

Nothing is exactly what it seems but everything with seems can be unpicked.

AnswerRe: DLL and EXE files Pin
Hamid_RT3-Jun-07 7:33
Hamid_RT3-Jun-07 7:33 
QuestionHow do I make a child dialog draw on a different HDC Pin
KellyR2-Jun-07 17:51
KellyR2-Jun-07 17:51 
AnswerRe: How do I make a child dialog draw on a different HDC Pin
Naveen3-Jun-07 16:17
Naveen3-Jun-07 16:17 
Questionagain for InterlockedIncrement() Pin
includeh102-Jun-07 16:52
includeh102-Jun-07 16:52 
AnswerRe: again for InterlockedIncrement() Pin
Matthew Faithfull3-Jun-07 1:07
Matthew Faithfull3-Jun-07 1:07 
GeneralRe: again for InterlockedIncrement() Pin
Mark Salsbery4-Jun-07 5:40
Mark Salsbery4-Jun-07 5:40 
AnswerRe: again for InterlockedIncrement() Pin
Mark Salsbery4-Jun-07 5:45
Mark Salsbery4-Jun-07 5:45 
QuestionSuggestion: Subject Matter Editors Pin
Jeffrey Walton2-Jun-07 11:46
Jeffrey Walton2-Jun-07 11:46 
AnswerRe: Suggestion: Subject Matter Editors Pin
Hans Dietrich3-Jun-07 0:14
mentorHans Dietrich3-Jun-07 0:14 
GeneralRe: Suggestion: Subject Matter Editors Pin
Matthew Faithfull3-Jun-07 1:12
Matthew Faithfull3-Jun-07 1:12 
GeneralRe: Suggestion: Subject Matter Editors Pin
Cliff Hatch3-Jun-07 2:32
Cliff Hatch3-Jun-07 2:32 
GeneralRe: Suggestion: Subject Matter Editors Pin
Hans Dietrich3-Jun-07 4:14
mentorHans Dietrich3-Jun-07 4:14 
GeneralRe: Suggestion: Subject Matter Editors Pin
Jeffrey Walton3-Jun-07 9:35
Jeffrey Walton3-Jun-07 9:35 
GeneralRe: Suggestion: Subject Matter Editors Pin
Jeffrey Walton3-Jun-07 9:33
Jeffrey Walton3-Jun-07 9:33 
AnswerRe: Suggestion: Subject Matter Editors Pin
Gary R. Wheeler3-Jun-07 1:52
Gary R. Wheeler3-Jun-07 1:52 
GeneralRe: Suggestion: Subject Matter Editors Pin
Jeffrey Walton3-Jun-07 9:28
Jeffrey Walton3-Jun-07 9:28 
QuestionNTFS Alternate Data Streams Pin
Akin Ocal2-Jun-07 10:26
Akin Ocal2-Jun-07 10: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.