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

C / C++ / MFC

 
Questionreplace malloc by new Pin
_Flaviu2-Oct-14 2:32
_Flaviu2-Oct-14 2:32 
AnswerRe: replace malloc by new Pin
_Flaviu2-Oct-14 3:02
_Flaviu2-Oct-14 3:02 
Questionhow to utilize "(int argc, const char * argv[]) " in a program Pin
Stefan611-Oct-14 13:25
Stefan611-Oct-14 13:25 
AnswerRe: how to utilize "(int argc, const char * argv[]) " in a program Pin
enhzflep1-Oct-14 19:59
enhzflep1-Oct-14 19:59 
AnswerRe: how to utilize "(int argc, const char * argv[]) " in a program Pin
CPallini1-Oct-14 22:03
mveCPallini1-Oct-14 22:03 
QuestionIs it possible to bind the "this" pointer Pin
elelont230-Sep-14 20:30
elelont230-Sep-14 20:30 
AnswerRe: Is it possible to bind the "this" pointer Pin
CPallini30-Sep-14 21:48
mveCPallini30-Sep-14 21:48 
AnswerRe: Is it possible to bind the "this" pointer Pin
CubbiMew1-Oct-14 16:42
CubbiMew1-Oct-14 16:42 
You could use bind1st if CallBackFunc took one parameter:

C++
void CallBackFunc(int) { ... }
...
obj->SetCallback(std::bind1st(std::mem_fun(&MyClass::CallBackFunc), this));


Since it takes nothing, you may have to write your own function template that takes a callable and a pointer that returns a small function object that stores the callable and the pointer as members and invokes them with operator(): as always, by refusing to use boost you're forcing yourself to reimplement parts of it.
QuestionOnly Desktop capturing without some active windows or capture only Desktop i.e Desktop Background and Icons Pin
narmadha_s30-Sep-14 2:53
narmadha_s30-Sep-14 2:53 
QuestionRe: Only Desktop capturing without some active windows or capture only Desktop i.e Desktop Background and Icons Pin
Richard MacCutchan30-Sep-14 6:04
mveRichard MacCutchan30-Sep-14 6:04 
AnswerRe: Only Desktop capturing without some active windows or capture only Desktop i.e Desktop Background and Icons Pin
narmadha_s6-Oct-14 19:33
narmadha_s6-Oct-14 19:33 
GeneralRe: Only Desktop capturing without some active windows or capture only Desktop i.e Desktop Background and Icons Pin
Richard MacCutchan6-Oct-14 21:13
mveRichard MacCutchan6-Oct-14 21:13 
AnswerRe: Only Desktop capturing without some active windows or capture only Desktop i.e Desktop Background and Icons Pin
David Crow30-Sep-14 9:25
David Crow30-Sep-14 9:25 
GeneralRe: Only Desktop capturing without some active windows or capture only Desktop i.e Desktop Background and Icons Pin
narmadha_s6-Oct-14 19:42
narmadha_s6-Oct-14 19:42 
AnswerRe: Only Desktop capturing without some active windows or capture only Desktop i.e Desktop Background and Icons Pin
David Crow7-Oct-14 2:24
David Crow7-Oct-14 2:24 
AnswerRe: Only Desktop capturing without some active windows or capture only Desktop i.e Desktop Background and Icons Pin
Software_Developer6-Oct-14 23:37
Software_Developer6-Oct-14 23:37 
QuestionChange LVS_ALIGNLEFT by LVS_ALIGNTOP Pin
_Flaviu30-Sep-14 0:01
_Flaviu30-Sep-14 0:01 
AnswerRe: Change LVS_ALIGNLEFT by LVS_ALIGNTOP Pin
Richard MacCutchan30-Sep-14 0:21
mveRichard MacCutchan30-Sep-14 0:21 
AnswerRe: Change LVS_ALIGNLEFT by LVS_ALIGNTOP Pin
Freak3030-Sep-14 0:23
Freak3030-Sep-14 0:23 
GeneralRe: Change LVS_ALIGNLEFT by LVS_ALIGNTOP Pin
_Flaviu30-Sep-14 0:35
_Flaviu30-Sep-14 0:35 
GeneralRe: Change LVS_ALIGNLEFT by LVS_ALIGNTOP Pin
Richard MacCutchan30-Sep-14 0:45
mveRichard MacCutchan30-Sep-14 0:45 
GeneralRe: Change LVS_ALIGNLEFT by LVS_ALIGNTOP Pin
_Flaviu30-Sep-14 1:43
_Flaviu30-Sep-14 1:43 
GeneralRe: Change LVS_ALIGNLEFT by LVS_ALIGNTOP Pin
Richard MacCutchan30-Sep-14 6:02
mveRichard MacCutchan30-Sep-14 6:02 
GeneralRe: Change LVS_ALIGNLEFT by LVS_ALIGNTOP Pin
_Flaviu30-Sep-14 21:52
_Flaviu30-Sep-14 21:52 
GeneralRe: Change LVS_ALIGNLEFT by LVS_ALIGNTOP Pin
_Flaviu1-Oct-14 21:53
_Flaviu1-Oct-14 21:53 

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.