Click here to Skip to main content
15,902,114 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCInternetSession difficulty Pin
Richard Stringer3-Nov-01 7:25
Richard Stringer3-Nov-01 7:25 
Generalabstract class - guru wanted Pin
3-Nov-01 5:49
suss3-Nov-01 5:49 
GeneralRe: abstract class - guru wanted Pin
Michael Dunn3-Nov-01 8:24
sitebuilderMichael Dunn3-Nov-01 8:24 
GeneralTransparentBlt/AlphaBlend Error Pin
Chambers3-Nov-01 5:38
Chambers3-Nov-01 5:38 
GeneralRe: TransparentBlt/AlphaBlend Error Pin
Christian Graus3-Nov-01 11:58
protectorChristian Graus3-Nov-01 11:58 
GeneralRe: TransparentBlt/AlphaBlend Error Pin
Chambers4-Nov-01 2:08
Chambers4-Nov-01 2:08 
GeneralADO GLOBAL CONNECTION Pin
3-Nov-01 5:23
suss3-Nov-01 5:23 
GeneralRe: ADO GLOBAL CONNECTION Pin
Christian Graus3-Nov-01 11:55
protectorChristian Graus3-Nov-01 11:55 
Global variables are the work of the devil, but if you must, the best way is to make it extern in stdafx.h, and declare it in stdafx.cpp. Assuming you're using MFC, I'd put it in CMainFrame, because a pointer to that class is so easy to get ahold of from anywhere in your application - CMainframe * pMain = dynamic_cast<CMainFrame*>(AfxGetMainWnd());



Christian

After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001

QuestionHow to lock Internet Temporary folder Pin
Huu Quynh3-Nov-01 4:23
Huu Quynh3-Nov-01 4:23 
AnswerRe: How to lock Internet Temporary folder Pin
Nish Nishant3-Nov-01 18:04
sitebuilderNish Nishant3-Nov-01 18:04 
AnswerRe: How to lock Internet Temporary folder Pin
Mike Nordell7-Nov-01 1:50
Mike Nordell7-Nov-01 1:50 
GeneralModify text color Pin
Maer7273-Nov-01 2:04
Maer7273-Nov-01 2:04 
GeneralRe: Modify text color Pin
Paolo Messina3-Nov-01 6:32
professionalPaolo Messina3-Nov-01 6:32 
GeneralRe: Modify text color Pin
Maer7273-Nov-01 18:10
Maer7273-Nov-01 18:10 
GeneralRe: Modify text color Pin
Nish Nishant3-Nov-01 18:13
sitebuilderNish Nishant3-Nov-01 18:13 
GeneralRe: Modify text color Pin
Nish Nishant3-Nov-01 18:10
sitebuilderNish Nishant3-Nov-01 18:10 
GeneralRe: Modify text color Pin
Maer7273-Nov-01 19:44
Maer7273-Nov-01 19:44 
GeneralRe: Modify text color Pin
Maer7273-Nov-01 19:48
Maer7273-Nov-01 19:48 
GeneralRe: Modify text color Pin
Nish Nishant3-Nov-01 20:47
sitebuilderNish Nishant3-Nov-01 20:47 
GeneralRe: Modify text color Pin
Maer7274-Nov-01 20:07
Maer7274-Nov-01 20:07 
QuestionHow to specify the CDROM another drive letter? Pin
Maer7273-Nov-01 1:43
Maer7273-Nov-01 1:43 
GeneralHTML View Window Pin
Steve Thresher2-Nov-01 23:45
Steve Thresher2-Nov-01 23:45 
GeneralRegister a Serivce in Win2000 Pin
Mr_Byte2-Nov-01 22:50
Mr_Byte2-Nov-01 22:50 
GeneralRe: Register a Serivce in Win2000 Pin
Anders Molin3-Nov-01 2:17
professionalAnders Molin3-Nov-01 2:17 
GeneralRe: Register a Serivce in Win2000 Pin
Anders Molin3-Nov-01 2:19
professionalAnders Molin3-Nov-01 2:19 

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.