Click here to Skip to main content
15,922,427 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalfinal proect for C++ suggestions Pin
24-Oct-01 17:43
suss24-Oct-01 17:43 
GeneralRe: final proect for C++ suggestions Pin
Nish Nishant24-Oct-01 19:56
sitebuilderNish Nishant24-Oct-01 19:56 
QuestionHow to implement this form? Pin
Speed_cn24-Oct-01 16:50
Speed_cn24-Oct-01 16:50 
AnswerRe: How to implement this form? Pin
Christian Graus24-Oct-01 17:04
protectorChristian Graus24-Oct-01 17:04 
GeneralRe: How to implement this form? Pin
24-Oct-01 17:13
suss24-Oct-01 17:13 
GeneralRe: How to implement this form? Pin
Christian Graus24-Oct-01 18:06
protectorChristian Graus24-Oct-01 18:06 
GeneralRe: How to implement this form? Pin
Nish Nishant24-Oct-01 19:58
sitebuilderNish Nishant24-Oct-01 19:58 
GeneralPlugIn For Microsoft Outlook Pin
24-Oct-01 16:12
suss24-Oct-01 16:12 
QuestionHow to do in VC call VB Data Pin
mornlee24-Oct-01 15:50
mornlee24-Oct-01 15:50 
GeneralMDI Without DocView Pin
Christopher Lord24-Oct-01 14:25
Christopher Lord24-Oct-01 14:25 
GeneralRe: MDI Without DocView Pin
Christian Graus24-Oct-01 14:33
protectorChristian Graus24-Oct-01 14:33 
GeneralRe: MDI Without DocView Pin
Christopher Lord24-Oct-01 14:39
Christopher Lord24-Oct-01 14:39 
GeneralRe: MDI Without DocView Pin
Christian Graus24-Oct-01 14:44
protectorChristian Graus24-Oct-01 14:44 
QuestionVC++ copy variables data? Pin
Todd Smith24-Oct-01 13:36
Todd Smith24-Oct-01 13:36 
AnswerRe: VC++ copy variables data? Pin
The_Server24-Oct-01 22:35
The_Server24-Oct-01 22:35 
GeneralFormatting Double Pin
AJ12324-Oct-01 12:20
AJ12324-Oct-01 12:20 
GeneralRe: Formatting Double Pin
Christian Graus24-Oct-01 12:28
protectorChristian Graus24-Oct-01 12:28 
Generalwsprintf does not work with doubles Pin
Tomasz Sowinski25-Oct-01 1:14
Tomasz Sowinski25-Oct-01 1:14 
GeneralRe: Formatting Double Pin
Mike Burston24-Oct-01 12:52
Mike Burston24-Oct-01 12:52 
General"STL & typedef problem" of MFC extened DLL programing Pin
24-Oct-01 11:37
suss24-Oct-01 11:37 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
Christian Graus24-Oct-01 11:47
protectorChristian Graus24-Oct-01 11:47 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
24-Oct-01 19:28
suss24-Oct-01 19:28 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
Michael Dunn24-Oct-01 19:44
sitebuilderMichael Dunn24-Oct-01 19:44 
Cast the return value of AfxGetApp() to your CWinApp-derived type:
CMyApp* pMyapp = (CMyApp*) AfxGetApp();
A word of caution though, if you rely on this in your DLL, then you must make an MFC regular DLL, not an MFC extension DLL. An extension DLL shares the CWinApp object of the EXE, whereas a regular DLL has its own CWinApp object.

--Mike--
http://home.inreach.com/mdunn/
This posting is provided "as was" with no warranties, guarantees, lotteries, or any of those little bags of peanuts you get on planes. You assume all risk for crossing the street without holding mommy's hand. © 2001 Mike's Classy Software. Member FDIC. If rash develops, discontinue use.
Heart | [heart] your Green Alien | [Alien] with Good Stuff | [The good stuff] and Beer | [beer]
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
24-Oct-01 20:23
suss24-Oct-01 20:23 
GeneralRe: "STL & typedef problem" of MFC extened DLL programing Pin
Michael Dunn24-Oct-01 20:42
sitebuilderMichael Dunn24-Oct-01 20:42 

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.