Click here to Skip to main content
15,905,068 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to read CVS Tag of a fille/directory from CPP Program Pin
scamguru19-Nov-08 8:39
scamguru19-Nov-08 8:39 
QuestionRe: How to read CVS Tag of a fille/directory from CPP Program Pin
David Crow19-Nov-08 8:40
David Crow19-Nov-08 8:40 
AnswerRe: How to read CVS Tag of a fille/directory from CPP Program Pin
scamguru19-Nov-08 8:49
scamguru19-Nov-08 8:49 
GeneralRe: How to read CVS Tag of a fille/directory from CPP Program Pin
David Crow19-Nov-08 9:03
David Crow19-Nov-08 9:03 
QuestionCalling a function that accept a refrence to a variable when we don't have a reference to pass.. [SOLVED] Pin
Ahmed Charfeddine19-Nov-08 5:53
Ahmed Charfeddine19-Nov-08 5:53 
AnswerRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
PJ Arends19-Nov-08 6:06
professionalPJ Arends19-Nov-08 6:06 
GeneralRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
led mike19-Nov-08 6:10
led mike19-Nov-08 6:10 
QuestionRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
Ahmed Charfeddine19-Nov-08 6:18
Ahmed Charfeddine19-Nov-08 6:18 
That is exactly the problem : I do'nt have a variable.

in my case, the function fo is a callback triggered by external code (that cannot be changed).

i have a local function F1 where i would like it to trigger that callback,same as the external code does. The aim is to enable two scenarios to be handled together. Problem is that even if that function F1 would not require to pass a certain parameter, and that neither the processing code in the callbackwould need to collect its content at that case, then the parameter is a reference to a class type which constructor is private (meaning I cannot simply instantiate a temporary var then pass it). Adds to that the fact that the external code can't be changed and it even does not expose a class factory for that type.

Are there any workaround though ?

Thank you.
AnswerRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
CPallini19-Nov-08 6:34
mveCPallini19-Nov-08 6:34 
GeneralRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
Ahmed Charfeddine19-Nov-08 22:23
Ahmed Charfeddine19-Nov-08 22:23 
GeneralRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
CPallini19-Nov-08 22:46
mveCPallini19-Nov-08 22:46 
GeneralRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
Ahmed Charfeddine19-Nov-08 23:03
Ahmed Charfeddine19-Nov-08 23:03 
GeneralRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
CPallini19-Nov-08 23:17
mveCPallini19-Nov-08 23:17 
GeneralRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
Ahmed Charfeddine19-Nov-08 23:44
Ahmed Charfeddine19-Nov-08 23:44 
GeneralRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
CPallini19-Nov-08 23:52
mveCPallini19-Nov-08 23:52 
GeneralRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
CPallini19-Nov-08 6:35
mveCPallini19-Nov-08 6:35 
GeneralRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
Roger Stoltz19-Nov-08 6:41
Roger Stoltz19-Nov-08 6:41 
GeneralRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
CPallini19-Nov-08 7:00
mveCPallini19-Nov-08 7:00 
GeneralRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
Roger Stoltz19-Nov-08 7:10
Roger Stoltz19-Nov-08 7:10 
AnswerRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
Roger Stoltz19-Nov-08 6:08
Roger Stoltz19-Nov-08 6:08 
QuestionRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
Ahmed Charfeddine19-Nov-08 6:25
Ahmed Charfeddine19-Nov-08 6:25 
AnswerRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
Roger Stoltz19-Nov-08 6:38
Roger Stoltz19-Nov-08 6:38 
GeneralRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
Ahmed Charfeddine19-Nov-08 22:22
Ahmed Charfeddine19-Nov-08 22:22 
AnswerRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
Roger Stoltz19-Nov-08 22:57
Roger Stoltz19-Nov-08 22:57 
GeneralRe: Calling a function that accept a refrence to a variable when we don't have a reference to pass.. Pin
Ahmed Charfeddine19-Nov-08 23:24
Ahmed Charfeddine19-Nov-08 23:24 

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.