Click here to Skip to main content
15,886,100 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: good encapsulation technique ? Pin
doug2528-Dec-09 1:33
doug2528-Dec-09 1:33 
GeneralRe: good encapsulation technique ? Pin
Jimmanuel28-Dec-09 3:05
Jimmanuel28-Dec-09 3:05 
GeneralRe: good encapsulation technique ? Pin
doug2528-Dec-09 3:37
doug2528-Dec-09 3:37 
GeneralRe: good encapsulation technique ? Pin
Bram van Kampen28-Dec-09 13:05
Bram van Kampen28-Dec-09 13:05 
QuestionDisplaying cyrillic alphabet Pin
bhanu_850925-Dec-09 22:22
bhanu_850925-Dec-09 22:22 
AnswerRe: Displaying cyrillic alphabet Pin
Rajesh R Subramanian26-Dec-09 0:13
professionalRajesh R Subramanian26-Dec-09 0:13 
QuestionAssigned value becoam garbage value Pin
Anu_Bala25-Dec-09 20:58
Anu_Bala25-Dec-09 20:58 
AnswerRe: Assigned value becoam garbage value Pin
Nelek25-Dec-09 23:06
protectorNelek25-Dec-09 23:06 
Having garbage sounds like the variable is not being initializated correctly.

Are you giving the value at the beggining of your DrawBar function? or at the beggining of your class?

it could be that in your GroupView you use more parts of TagInfo.cpp than only the function DrawBar and because of that you are having the value initialized, but... in your Tuning.cpp you just call the function and the variable hasn't been correctly initializated, but the debug mode does it for you giving garbage value.

Try putting some stop points for the debugger in your TagInfo.cpp and see what happens when you get in the class coming from the other two using the function.

Regards.
--------
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpfull answers is nice, but saying thanks can be even nicer.

GeneralRe: Assigned value becoam garbage value Pin
Anu_Bala27-Dec-09 16:31
Anu_Bala27-Dec-09 16:31 
GeneralRe: Assigned value becoam garbage value Pin
Nelek27-Dec-09 23:20
protectorNelek27-Dec-09 23:20 
QuestionHow to find out if a pe file has been packed? Pin
Joseph Marzbani25-Dec-09 18:50
Joseph Marzbani25-Dec-09 18:50 
AnswerRe: How to find out if a pe file has been packed? Pin
Adam Roderick J25-Dec-09 20:00
Adam Roderick J25-Dec-09 20:00 
QuestionFile browser control in MFC Pin
Member 439977125-Dec-09 18:47
Member 439977125-Dec-09 18:47 
AnswerRe: File browser control in MFC Pin
Joseph Marzbani25-Dec-09 18:54
Joseph Marzbani25-Dec-09 18:54 
AnswerRe: File browser control in MFC Pin
rp_suman27-Dec-09 0:12
rp_suman27-Dec-09 0:12 
Question[Message Deleted] Pin
Mattzimmerer25-Dec-09 16:43
Mattzimmerer25-Dec-09 16:43 
AnswerRe: Question regarding Kernal level drivers Pin
Mattzimmerer25-Dec-09 19:56
Mattzimmerer25-Dec-09 19:56 
AnswerRe: Question regarding Kernal level drivers Pin
Rajesh R Subramanian25-Dec-09 20:49
professionalRajesh R Subramanian25-Dec-09 20:49 
GeneralRe: Question regarding Kernal level drivers [modified] Pin
Mattzimmerer26-Dec-09 7:57
Mattzimmerer26-Dec-09 7:57 
GeneralRe: Question regarding Kernal level drivers Pin
JudyL_MD27-Dec-09 5:00
JudyL_MD27-Dec-09 5:00 
AnswerRe: Question regarding Kernal level drivers Pin
«_Superman_»26-Dec-09 16:34
professional«_Superman_»26-Dec-09 16:34 
GeneralRe: Question regarding Kernal level drivers Pin
Mattzimmerer26-Dec-09 21:59
Mattzimmerer26-Dec-09 21:59 
GeneralRe: Question regarding Kernal level drivers Pin
Bram van Kampen27-Dec-09 12:16
Bram van Kampen27-Dec-09 12:16 
GeneralRe: Question regarding Kernal level drivers Pin
Mattzimmerer27-Dec-09 14:18
Mattzimmerer27-Dec-09 14:18 
GeneralRe: Question regarding Kernal level drivers Pin
Bram van Kampen27-Dec-09 14:50
Bram van Kampen27-Dec-09 14:50 

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.