Click here to Skip to main content
15,903,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Number of line in a Rect of Rich edit Pin
Luc Pattyn9-Mar-10 17:04
sitebuilderLuc Pattyn9-Mar-10 17:04 
GeneralRe: Number of line in a Rect of Rich edit I put the pre tags in Pin
ForNow9-Mar-10 17:43
ForNow9-Mar-10 17:43 
QuestionModeless CPropertySheet destruction? Pin
Spawn@Melmac9-Mar-10 9:49
Spawn@Melmac9-Mar-10 9:49 
AnswerRe: Modeless CPropertySheet destruction? [modified] Pin
LunaticFringe9-Mar-10 12:43
LunaticFringe9-Mar-10 12:43 
AnswerRe: Modeless CPropertySheet destruction? Pin
Luc Pattyn9-Mar-10 13:54
sitebuilderLuc Pattyn9-Mar-10 13:54 
GeneralRe: Modeless CPropertySheet destruction? Pin
Spawn@Melmac10-Mar-10 6:17
Spawn@Melmac10-Mar-10 6:17 
QuestionStatic Library and Global Variables Pin
Ofer Gross9-Mar-10 8:46
Ofer Gross9-Mar-10 8:46 
AnswerRe: Static Library and Global Variables Pin
Avi Berger9-Mar-10 9:15
Avi Berger9-Mar-10 9:15 
OK, if I understand, you have:

SomeClass.h which contains a declaration of SomeClass and extern SomeClass *globalPtr; This header is used both by your main program and static library.

SomeClass.cpp which contains the implementation of SomeClass and SomeClass *globalPtr = new SomeClass(); This file is only in the static library.

The public data members of *globalPtr do not appear valid in the context of code in the main app.


I would carefully compare the compiler options for the two modules for any discrepancy that might conceivably produce different object layouts.
Please do not read this signature.

GeneralRe: Static Library and Global Variables [modified] Pin
Ofer Gross9-Mar-10 10:32
Ofer Gross9-Mar-10 10:32 
QuestionPutting a Text File into a Directory with an Executable File Pin
eternaloptimist9-Mar-10 7:49
eternaloptimist9-Mar-10 7:49 
AnswerRe: Putting a Text File into a Directory with an Executable File Pin
Maximilien9-Mar-10 7:57
Maximilien9-Mar-10 7:57 
AnswerRe: Putting a Text File into a Directory with an Executable File Pin
«_Superman_»9-Mar-10 16:39
professional«_Superman_»9-Mar-10 16:39 
QuestionBeginner vector question.... Pin
Jacob Dixon9-Mar-10 7:28
Jacob Dixon9-Mar-10 7:28 
AnswerRe: Beginner vector question.... Pin
Maximilien9-Mar-10 7:52
Maximilien9-Mar-10 7:52 
GeneralRe: Beginner vector question.... Pin
Jacob Dixon9-Mar-10 11:08
Jacob Dixon9-Mar-10 11:08 
GeneralRe: Beginner vector question.... Pin
Graham Breach9-Mar-10 21:48
Graham Breach9-Mar-10 21:48 
QuestionCricheditrl::Findtext Pin
ForNow9-Mar-10 6:46
ForNow9-Mar-10 6:46 
AnswerRe: Cricheditrl::Findtext Pin
«_Superman_»9-Mar-10 16:44
professional«_Superman_»9-Mar-10 16:44 
QuestionHow do I use TaskDiaglog or MessageBox at runtime, if TaskDiaglog not supported by comctl32.dll Pin
markyoung1439-Mar-10 5:13
markyoung1439-Mar-10 5:13 
QuestionSerach implementation Pin
johnalek9-Mar-10 3:28
johnalek9-Mar-10 3:28 
AnswerRe: Serach implementation Pin
Richard MacCutchan9-Mar-10 4:10
mveRichard MacCutchan9-Mar-10 4:10 
AnswerRe: Serach implementation Pin
Eugen Podsypalnikov9-Mar-10 4:48
Eugen Podsypalnikov9-Mar-10 4:48 
AnswerRe: Serach implementation Pin
KingsGambit9-Mar-10 4:54
KingsGambit9-Mar-10 4:54 
QuestionCMFCOutlookBarTabCtrl save state problem Pin
A&Ms8-Mar-10 21:49
A&Ms8-Mar-10 21:49 
AnswerRe: CMFCOutlookBarTabCtrl save state problem Pin
Eugen Podsypalnikov8-Mar-10 22:07
Eugen Podsypalnikov8-Mar-10 22:07 

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.