Click here to Skip to main content
16,005,121 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to get rid of "Untitled" in SDI app title bar? Pin
toxcct30-Nov-05 6:46
toxcct30-Nov-05 6:46 
GeneralRe: How to get rid of "Untitled" in SDI app title bar? Pin
Ian Bowler30-Nov-05 6:52
Ian Bowler30-Nov-05 6:52 
GeneralRe: How to get rid of "Untitled" in SDI app title bar? Pin
toxcct30-Nov-05 7:01
toxcct30-Nov-05 7:01 
AnswerRe: How to get rid of "Untitled" in SDI app title bar? Pin
ClockDivider30-Nov-05 6:46
ClockDivider30-Nov-05 6:46 
AnswerRe: How to get rid of "Untitled" in SDI app title bar? Pin
David Crow30-Nov-05 8:00
David Crow30-Nov-05 8:00 
GeneralRe: How to get rid of "Untitled" in SDI app title bar? Pin
Ian Bowler30-Nov-05 6:53
Ian Bowler30-Nov-05 6:53 
AnswerRe: How to get rid of "Untitled" in SDI app title bar? Pin
Owner drawn30-Nov-05 19:27
Owner drawn30-Nov-05 19:27 
QuestionHelp to remove a level 4 warning Pin
Chris Meech30-Nov-05 5:44
Chris Meech30-Nov-05 5:44 
I'm at a loss for how to correct for a level 4 warning.
header file
void some_func(some_type *ptr, int flag);

source file
void some_func(some_type *ptr, int flag)
{
...
...
}
and when I compile, I get
warning C4100: 'flag' : unreferenced formal parameter
and yes 'flag' is an unreferenced parameter, so I make the following change
source file
void some_func(some_type *ptr, int /* flag */ )
{
...
...
}
and when I compile, I get
error C2055: expected formal parameter list, not a type list


I'm not sure how I have to change the source file, such that I don't get either the warning or the error. Thanks.


Chris Meech

I am Canadian. [heard in a local bar]

Remember that in Texas, Gun Control is hitting what you aim at. [Richard Stringer]

Nice sig! [Tim Deveaux on Matt Newman's sig with a quote from me]
AnswerRe: Help to remove a level 4 warning Pin
Graham Bradshaw30-Nov-05 5:51
Graham Bradshaw30-Nov-05 5:51 
GeneralRe: Help to remove a level 4 warning Pin
Chris Meech30-Nov-05 6:13
Chris Meech30-Nov-05 6:13 
AnswerRe: Help to remove a level 4 warning Pin
Blake Miller30-Nov-05 9:25
Blake Miller30-Nov-05 9:25 
AnswerRe: Help to remove a level 4 warning Pin
Roland Pibinger30-Nov-05 9:41
Roland Pibinger30-Nov-05 9:41 
Questionwhat is alternation for "ODBCVER.H"of vc6.0 in vc7.0? Pin
G Haranadh30-Nov-05 5:12
G Haranadh30-Nov-05 5:12 
AnswerRe: what is alternation for "ODBCVER.H"of vc6.0 in vc7.0? Pin
Mike Dimmick30-Nov-05 5:53
Mike Dimmick30-Nov-05 5:53 
GeneralRe: what is alternation for "ODBCVER.H"of vc6.0 in vc7.0? Pin
G Haranadh30-Nov-05 9:51
G Haranadh30-Nov-05 9:51 
QuestionWinInet FTP - how to dump each conversation ? Pin
rrrado30-Nov-05 4:21
rrrado30-Nov-05 4:21 
AnswerRe: WinInet FTP - how to dump each conversation ? Pin
ThatsAlok30-Nov-05 23:10
ThatsAlok30-Nov-05 23:10 
GeneralRe: WinInet FTP - how to dump each conversation ? Pin
rrrado1-Dec-05 22:39
rrrado1-Dec-05 22:39 
Question#define scope rules Pin
Like2Byte30-Nov-05 3:54
Like2Byte30-Nov-05 3:54 
AnswerRe: #define scope rules [edited] Pin
toxcct30-Nov-05 4:39
toxcct30-Nov-05 4:39 
AnswerRe: #define scope rules Pin
Chris Losinger30-Nov-05 4:54
professionalChris Losinger30-Nov-05 4:54 
QuestionMulti Monitor Pin
Karl Bahr30-Nov-05 3:51
Karl Bahr30-Nov-05 3:51 
QuestionCreateProcess doesn't work while ShellExecute Does!!!! Pin
YaronNir30-Nov-05 3:25
YaronNir30-Nov-05 3:25 
AnswerRe: CreateProcess doesn't work while ShellExecute Does!!!! Pin
Cedric Moonen30-Nov-05 3:46
Cedric Moonen30-Nov-05 3:46 
GeneralRe: CreateProcess doesn't work while ShellExecute Does!!!! Pin
YaronNir30-Nov-05 3:51
YaronNir30-Nov-05 3:51 

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.