Click here to Skip to main content
15,892,072 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WriteFileEx Pin
Luc Pattyn6-Jan-10 7:12
sitebuilderLuc Pattyn6-Jan-10 7:12 
GeneralRe: WriteFileEx (with inditation) Pin
noalias___6-Jan-10 7:18
noalias___6-Jan-10 7:18 
GeneralRe: WriteFileEx (with inditation) Pin
Richard MacCutchan6-Jan-10 7:37
mveRichard MacCutchan6-Jan-10 7:37 
GeneralRe: WriteFileEx (with inditation) Pin
noalias___6-Jan-10 7:59
noalias___6-Jan-10 7:59 
AnswerRe: WriteFileEx [modified] Please help Pin
cmk6-Jan-10 15:40
cmk6-Jan-10 15:40 
QuestionDifferentiating 2 methods with the same name for a pointer Pin
Code-o-mat6-Jan-10 0:46
Code-o-mat6-Jan-10 0:46 
AnswerRe: Differentiating 2 methods with the same name for a pointer Pin
Richard MacCutchan6-Jan-10 2:12
mveRichard MacCutchan6-Jan-10 2:12 
GeneralRe: Differentiating 2 methods with the same name for a pointer Pin
Code-o-mat6-Jan-10 2:15
Code-o-mat6-Jan-10 2:15 
You mean with the explicit conversion, right? Currently i am unable to test it in runtime because it is part of a bigger project and i still need to do a lot of work before it becomes "runnable".

An alternative solution for me could be to create another method (or two methods) with different names and same parameters and then from these call the right Func, but this isn't that elegant (but still less problematic than renaming the functions everywhere)...
I mean something like this:
int Func1(int x) { return Func(x); }
int Func2(int x, int y) { return Func(x, y); }
...
FUNC_ONE pFuncOne = Func1;
FUNC_TWO pFuncTwo = Func2;


> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Sometimes you just have to hate coding to do it well. <

GeneralRe: Differentiating 2 methods with the same name for a pointer Pin
molesworth6-Jan-10 2:51
molesworth6-Jan-10 2:51 
GeneralRe: Differentiating 2 methods with the same name for a pointer Pin
Code-o-mat6-Jan-10 3:44
Code-o-mat6-Jan-10 3:44 
GeneralRe: Differentiating 2 methods with the same name for a pointer Pin
Richard MacCutchan6-Jan-10 3:36
mveRichard MacCutchan6-Jan-10 3:36 
GeneralRe: Differentiating 2 methods with the same name for a pointer Pin
Code-o-mat6-Jan-10 3:47
Code-o-mat6-Jan-10 3:47 
GeneralRe: Differentiating 2 methods with the same name for a pointer Pin
Richard MacCutchan6-Jan-10 3:55
mveRichard MacCutchan6-Jan-10 3:55 
AnswerRe: Differentiating 2 methods with the same name for a pointer Pin
SimonSays6-Jan-10 5:07
SimonSays6-Jan-10 5:07 
AnswerRe: Differentiating 2 methods with the same name for a pointer Pin
Moak6-Jan-10 15:30
Moak6-Jan-10 15:30 
GeneralRe: Differentiating 2 methods with the same name for a pointer Pin
Code-o-mat6-Jan-10 21:29
Code-o-mat6-Jan-10 21:29 
GeneralRe: Differentiating 2 methods with the same name for a pointer Pin
Moak7-Jan-10 0:32
Moak7-Jan-10 0:32 
QuestionDataBase Pin
jannathali5-Jan-10 22:38
jannathali5-Jan-10 22:38 
AnswerRe: DataBase Pin
_AnsHUMAN_ 5-Jan-10 23:09
_AnsHUMAN_ 5-Jan-10 23:09 
AnswerRe: DataBase Pin
«_Superman_»6-Jan-10 0:26
professional«_Superman_»6-Jan-10 0:26 
QuestionCapturing check/uncheck in checkbox in listcontrol Pin
itkid5-Jan-10 22:16
itkid5-Jan-10 22:16 
AnswerRe: Capturing check/uncheck in checkbox in listcontrol Pin
Naveen5-Jan-10 22:46
Naveen5-Jan-10 22:46 
GeneralRe: Capturing check/uncheck in checkbox in listcontrol Pin
itkid5-Jan-10 22:49
itkid5-Jan-10 22:49 
GeneralRe: Capturing check/uncheck in checkbox in listcontrol Pin
Naveen5-Jan-10 23:15
Naveen5-Jan-10 23:15 
Questionhow to contact the file extension with file type? Pin
nenfa5-Jan-10 20:37
nenfa5-Jan-10 20:37 

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.