Click here to Skip to main content
15,922,696 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: In search of MFC control Pin
Imtiaz Murtaza18-May-05 1:56
Imtiaz Murtaza18-May-05 1:56 
GeneralRe: In search of MFC control Pin
jmkhael18-May-05 2:25
jmkhael18-May-05 2:25 
QuestionHow to create a Type Lib...? Pin
anderslundsgard17-May-05 23:34
anderslundsgard17-May-05 23:34 
AnswerRe: How to create a Type Lib...? Pin
ThatsAlok17-May-05 23:44
ThatsAlok17-May-05 23:44 
GeneralWarning Level 4 Pin
S Douglas17-May-05 23:34
professionalS Douglas17-May-05 23:34 
GeneralRe: Warning Level 4 Pin
Joel Holdsworth17-May-05 23:47
Joel Holdsworth17-May-05 23:47 
GeneralRe: Warning Level 4 Pin
S Douglas17-May-05 23:55
professionalS Douglas17-May-05 23:55 
GeneralRe: Warning Level 4 Pin
Joel Holdsworth18-May-05 0:09
Joel Holdsworth18-May-05 0:09 
Yeah you just rewminded me the other way to deal with the problem (probably more efficiant too) i this.

Say my function has to be have the parameters WPARAM followed by LPARAM, you don't have to give these names:
int Function2(WPARAM, LPARAM param2)
{
   param2 += 6;   // We're using param2
}
You see the WPARAM is still present in the parameter list, but is not referenced at all. I think the optimiser should reduce the two methods to producing the same code, but this way is a little more elegant.

Joel Holdsworth

Wanna give me a job this summer?
Check out my online CV and project history[^] - now available in MSWord format![^]
GeneralRe: Warning Level 4 Pin
S Douglas18-May-05 0:16
professionalS Douglas18-May-05 0:16 
GeneralRe: Warning Level 4 Pin
Jack Puppy18-May-05 0:18
Jack Puppy18-May-05 0:18 
GeneralRe: Warning Level 4 Pin
S Douglas18-May-05 0:34
professionalS Douglas18-May-05 0:34 
GeneralRe: Warning Level 4 Pin
Bob Stanneveld18-May-05 2:24
Bob Stanneveld18-May-05 2:24 
GeneralRe: Warning Level 4 Pin
jmkhael18-May-05 2:42
jmkhael18-May-05 2:42 
GeneralRe: Warning Level 4 Pin
S Douglas18-May-05 3:12
professionalS Douglas18-May-05 3:12 
GeneralRe: Warning Level 4 Pin
jmkhael18-May-05 3:21
jmkhael18-May-05 3:21 
GeneralRe: Warning Level 4 Pin
S Douglas18-May-05 3:30
professionalS Douglas18-May-05 3:30 
GeneralRe: Warning Level 4 Pin
jmkhael18-May-05 3:43
jmkhael18-May-05 3:43 
GeneralMemory usage of my app Pin
benjymous17-May-05 23:21
benjymous17-May-05 23:21 
GeneralRe: Memory usage of my app Pin
David Crow18-May-05 2:05
David Crow18-May-05 2:05 
GeneralRe: Memory usage of my app Pin
Blake Miller18-May-05 4:08
Blake Miller18-May-05 4:08 
Generalpacket sniffer Pin
sura_b4_u17-May-05 23:18
sura_b4_u17-May-05 23:18 
GeneralRe: packet sniffer Pin
CodeBeetle26-May-05 7:37
CodeBeetle26-May-05 7:37 
Questionwhat is DLL injection? Pin
Mridang Agarwalla17-May-05 23:07
Mridang Agarwalla17-May-05 23:07 
AnswerRe: what is DLL injection? Pin
Joel Holdsworth17-May-05 23:45
Joel Holdsworth17-May-05 23:45 
QuestionHow to get notified when user logoff? Pin
EastDragon17-May-05 22:58
EastDragon17-May-05 22:58 

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.