Click here to Skip to main content
15,921,531 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to register dll or ocx file via c++ code Pin
b-rad31125-Jun-10 10:52
b-rad31125-Jun-10 10:52 
GeneralRe: how to register dll or ocx file via c++ code Pin
Aescleal25-Jun-10 10:58
Aescleal25-Jun-10 10:58 
GeneralRe: how to register dll or ocx file via c++ code Pin
«_Superman_»25-Jun-10 17:32
professional«_Superman_»25-Jun-10 17:32 
GeneralRe: how to register dll or ocx file via c++ code Pin
Stephen Hewitt27-Jun-10 17:48
Stephen Hewitt27-Jun-10 17:48 
GeneralRe: how to register dll or ocx file via c++ code Pin
Aescleal28-Jun-10 6:28
Aescleal28-Jun-10 6:28 
GeneralRe: how to register dll or ocx file via c++ code Pin
Stephen Hewitt28-Jun-10 15:14
Stephen Hewitt28-Jun-10 15:14 
GeneralRe: how to register dll or ocx file via c++ code Pin
Aescleal29-Jun-10 6:56
Aescleal29-Jun-10 6:56 
AnswerRe: how to register dll or ocx file via c++ code Pin
Rajesh R Subramanian25-Jun-10 10:46
professionalRajesh R Subramanian25-Jun-10 10:46 
GeneralRe: how to register dll or ocx file via c++ code Pin
b-rad31125-Jun-10 10:59
b-rad31125-Jun-10 10:59 
GeneralRe: how to register dll or ocx file via c++ code Pin
«_Superman_»25-Jun-10 17:34
professional«_Superman_»25-Jun-10 17:34 
AnswerRe: how to register dll or ocx file via c++ code Pin
KingsGambit25-Jun-10 19:45
KingsGambit25-Jun-10 19:45 
AnswerRe: how to register dll or ocx file via c++ code Pin
Shivanand Gupta26-Jun-10 2:47
Shivanand Gupta26-Jun-10 2:47 
QuestionGeneral MFC C++ question What does :: any class or object on the left hand side mean Pin
ForNow25-Jun-10 6:30
ForNow25-Jun-10 6:30 
AnswerRe: General MFC C++ question What does :: any class or object on the left hand side mean Pin
Aescleal25-Jun-10 6:49
Aescleal25-Jun-10 6:49 
AnswerRe: General MFC C++ question What does :: any class or object on the left hand side mean Pin
Niklas L25-Jun-10 6:50
Niklas L25-Jun-10 6:50 
GeneralRe: General MFC C++ question What does :: any class or object on the left hand side mean Pin
ForNow25-Jun-10 6:56
ForNow25-Jun-10 6:56 
GeneralRe: General MFC C++ question What does :: any class or object on the left hand side mean Pin
Rajesh R Subramanian25-Jun-10 9:15
professionalRajesh R Subramanian25-Jun-10 9:15 
GeneralRe: General MFC C++ question What does :: any class or object on the left hand side mean Pin
ForNow25-Jun-10 10:39
ForNow25-Jun-10 10:39 
GeneralRe: General MFC C++ question What does :: any class or object on the left hand side mean Pin
Tim Craig25-Jun-10 16:19
Tim Craig25-Jun-10 16:19 
The line a:mymethod() would be ok IF you'd actually created an instance of class A named a which you've not shown so in the context we have it's not ok.

Using a call like A::mymethod() can only be done if mymethod is declared as a static member function, you need an instance of the class to call regular member functions.

Your ::mycall(private_data) won't work if you're expecting private_data from class A because, again, you'd need to have an instance of class A for the member private_data to exist. Now if mycall is a standalone function at global scope, you could call it as long as you have a variable named private_data defined in an accessible scope to the call.

I'd recommend you spend some time with a good introductory book to C++.
Once you agree to clans, tribes, governments...you've opted for socialism. The rest is just details.

GeneralRe: General MFC C++ question What does :: any class or object on the left hand side mean Pin
Rajesh R Subramanian25-Jun-10 21:06
professionalRajesh R Subramanian25-Jun-10 21:06 
GeneralRe: General MFC C++ question What does :: any class or object on the left hand side mean Pin
ForNow26-Jun-10 16:59
ForNow26-Jun-10 16:59 
GeneralRe: General MFC C++ question What does :: any class or object on the left hand side mean Pin
Tim Craig26-Jun-10 17:55
Tim Craig26-Jun-10 17:55 
GeneralRe: General MFC C++ question What does :: any class or object on the left hand side mean Pin
Niklas L25-Jun-10 20:55
Niklas L25-Jun-10 20:55 
GeneralRe: General MFC C++ question What does :: any class or object on the left hand side mean Pin
ForNow26-Jun-10 16:36
ForNow26-Jun-10 16:36 
AnswerRe: General MFC C++ question What does :: any class or object on the left hand side mean Pin
Rajesh R Subramanian25-Jun-10 9:12
professionalRajesh R Subramanian25-Jun-10 9:12 

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.