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

C / C++ / MFC

 
GeneralRe: need code for PhoneCall program Pin
hint_5415-Mar-06 13:22
hint_5415-Mar-06 13:22 
Questionifstream issue in Visual C++ .NET 2005 Pin
yellowine14-Mar-06 10:20
yellowine14-Mar-06 10:20 
AnswerRe: ifstream issue in Visual C++ .NET 2005 Pin
PJ Arends14-Mar-06 10:26
professionalPJ Arends14-Mar-06 10:26 
GeneralRe: ifstream issue in Visual C++ .NET 2005 Pin
yellowine14-Mar-06 10:32
yellowine14-Mar-06 10:32 
AnswerRe: ifstream issue in Visual C++ .NET 2005 Pin
PJ Arends14-Mar-06 10:40
professionalPJ Arends14-Mar-06 10:40 
GeneralRe: ifstream issue in Visual C++ .NET 2005 Pin
yellowine14-Mar-06 10:44
yellowine14-Mar-06 10:44 
QuestionMaking an Object global Pin
viperlogic14-Mar-06 10:18
viperlogic14-Mar-06 10:18 
AnswerRe: Making an Object global Pin
BadKarma14-Mar-06 10:29
BadKarma14-Mar-06 10:29 
Its best practice to have as little global objects as possible.

There is at least on global object theApp (the application) which can be accessed through the
function AfxGetApp() which returns a pointer to the application object.
You can make you database access class a member of the application class. Then you can access this class through the Application pointer from anywhere in your application.

codito ergo sum
GeneralRe: Making an Object global Pin
viperlogic14-Mar-06 11:27
viperlogic14-Mar-06 11:27 
AnswerRe: Making an Object global Pin
Stephen Hewitt14-Mar-06 17:18
Stephen Hewitt14-Mar-06 17:18 
AnswerRe: Making an Object global Pin
ThatsAlok14-Mar-06 18:20
ThatsAlok14-Mar-06 18:20 
AnswerRe: Making an Object global Pin
ThatsAlok14-Mar-06 18:22
ThatsAlok14-Mar-06 18:22 
GeneralRe: Making an Object global Pin
viperlogic14-Mar-06 23:23
viperlogic14-Mar-06 23:23 
GeneralRe: Making an Object global Pin
Stephen Hewitt15-Mar-06 0:06
Stephen Hewitt15-Mar-06 0:06 
GeneralRe: Making an Object global Pin
viperlogic15-Mar-06 2:22
viperlogic15-Mar-06 2:22 
Questionhow to detect hyperlink from word file Pin
mk_le14-Mar-06 9:48
mk_le14-Mar-06 9:48 
QuestionExample on creating an item identifier list Pin
Chris Meech14-Mar-06 9:33
Chris Meech14-Mar-06 9:33 
AnswerRe: Example on creating an item identifier list Pin
Michael Dunn14-Mar-06 10:28
sitebuilderMichael Dunn14-Mar-06 10:28 
GeneralRe: Example on creating an item identifier list Pin
Chris Meech15-Mar-06 2:37
Chris Meech15-Mar-06 2:37 
AnswerRe: Example on creating an item identifier list Pin
Graham Bradshaw14-Mar-06 12:05
Graham Bradshaw14-Mar-06 12:05 
GeneralRe: Example on creating an item identifier list Pin
Chris Meech15-Mar-06 2:40
Chris Meech15-Mar-06 2:40 
QuestionProblem comparing 'double' values Pin
Wheatbread14-Mar-06 9:23
Wheatbread14-Mar-06 9:23 
AnswerRe: Problem comparing 'double' values Pin
Maximilien14-Mar-06 10:06
Maximilien14-Mar-06 10:06 
GeneralRe: Problem comparing 'double' values Pin
Wheatbread14-Mar-06 10:52
Wheatbread14-Mar-06 10:52 
GeneralRe: Problem comparing 'double' values Pin
Maximilien14-Mar-06 12:49
Maximilien14-Mar-06 12:49 

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.