Click here to Skip to main content
15,881,413 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhat does this error mean? Pin
monsieur_jj9-Dec-08 15:36
monsieur_jj9-Dec-08 15:36 
AnswerRe: What does this error mean? Pin
_AnsHUMAN_ 9-Dec-08 16:47
_AnsHUMAN_ 9-Dec-08 16:47 
QuestionCInternetSession.OpenURL on Windows Mobile fails Pin
Jessn9-Dec-08 10:28
Jessn9-Dec-08 10:28 
QuestionHow do I completely take over drawing for a listbox Pin
KellyR9-Dec-08 9:46
KellyR9-Dec-08 9:46 
AnswerRe: How do I completely take over drawing for a listbox Pin
enhzflep9-Dec-08 12:03
enhzflep9-Dec-08 12:03 
GeneralRe: How do I completely take over drawing for a listbox Pin
KellyR10-Dec-08 4:00
KellyR10-Dec-08 4:00 
QuestionFinding out the source from which a base class function is called. Pin
rajandpayal9-Dec-08 9:24
rajandpayal9-Dec-08 9:24 
AnswerRe: Finding out the source from which a base class function is called. Pin
rajandpayal9-Dec-08 9:27
rajandpayal9-Dec-08 9:27 
Correction to my question

I have the following already implemented...

A base class (Say A) with a macro definition implementing two functions. Say A1 and A2.
A class ( Say B) derived from Class A.
Member functions of B called B1 and B2.
B1 calls A1
B2 calls A2.

Now I have a need for the following...

Without changing any code in the derived class B or its member functions I want to know inside A1 function the function or line number or file from which A1 gets called.

i.e I cannot change the derived class(es). I can only change the base class.

Is this possible??
GeneralRe: Finding out the source from which a base class function is called. Pin
Chris Losinger9-Dec-08 13:21
professionalChris Losinger9-Dec-08 13:21 
GeneralRe: Finding out the source from which a base class function is called. Pin
rajandpayal10-Dec-08 5:01
rajandpayal10-Dec-08 5:01 
GeneralRe: Finding out the source from which a base class function is called. Pin
Chris Losinger10-Dec-08 5:05
professionalChris Losinger10-Dec-08 5:05 
QuestionStrange Problem regarding PING ?? Pin
AhmedOsamaMoh9-Dec-08 8:39
AhmedOsamaMoh9-Dec-08 8:39 
AnswerRe: Strange Problem regarding PING ?? Pin
gori_sikten9-Dec-08 17:10
gori_sikten9-Dec-08 17:10 
GeneralRe: Strange Problem regarding PING ?? Pin
AhmedOsamaMoh10-Dec-08 0:44
AhmedOsamaMoh10-Dec-08 0:44 
AnswerRe: Strange Problem regarding PING ?? Pin
Cosmic Egg12-Dec-08 11:00
Cosmic Egg12-Dec-08 11:00 
QuestionCurrenttime to Variant Pin
pratap19809-Dec-08 7:50
pratap19809-Dec-08 7:50 
AnswerRe: Currenttime to Variant Pin
Mark Salsbery9-Dec-08 8:46
Mark Salsbery9-Dec-08 8:46 
AnswerRe: Currenttime to Variant Pin
Michael Dunn9-Dec-08 13:29
sitebuilderMichael Dunn9-Dec-08 13:29 
Generalsize of file Pin
indiraagandhi9-Dec-08 7:49
indiraagandhi9-Dec-08 7:49 
GeneralRe: size of file Pin
Cedric Moonen9-Dec-08 7:53
Cedric Moonen9-Dec-08 7:53 
GeneralRe: size of file Pin
indiraagandhi11-Dec-08 6:19
indiraagandhi11-Dec-08 6:19 
GeneralRe: size of file Pin
Luc Pattyn9-Dec-08 8:13
sitebuilderLuc Pattyn9-Dec-08 8:13 
GeneralRe: size of file Pin
led mike9-Dec-08 8:25
led mike9-Dec-08 8:25 
GeneralRe: size of file Pin
Luc Pattyn9-Dec-08 8:43
sitebuilderLuc Pattyn9-Dec-08 8:43 
GeneralRe: size of file Pin
CPallini9-Dec-08 8:36
mveCPallini9-Dec-08 8:36 

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.