Click here to Skip to main content
15,890,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRuning the MFC program in Silent Mode. Pin
mostafa_pasha18-Feb-10 13:31
mostafa_pasha18-Feb-10 13:31 
AnswerRe: Runing the MFC program in Silent Mode. Pin
David Crow18-Feb-10 15:24
David Crow18-Feb-10 15:24 
AnswerRe: Runing the MFC program in Silent Mode. Pin
Avi Berger18-Feb-10 15:44
Avi Berger18-Feb-10 15:44 
GeneralRe: Runing the MFC program in Silent Mode. Pin
Maximilien19-Feb-10 0:35
Maximilien19-Feb-10 0:35 
GeneralRe: Runing the MFC program in Silent Mode. Pin
Avi Berger19-Feb-10 11:50
Avi Berger19-Feb-10 11:50 
GeneralRe: Runing the MFC program in Silent Mode. Pin
Rozis21-Feb-10 10:58
Rozis21-Feb-10 10:58 
GeneralRe: Runing the MFC program in Silent Mode. Pin
Avi Berger23-Feb-10 7:02
Avi Berger23-Feb-10 7:02 
Questioncan one use vectors of subclasses in a parameter list? Pin
genush18-Feb-10 8:42
genush18-Feb-10 8:42 
I am trying to pass in a vector of some subclass to a function defined with the base class in the parameter list, like void mod(vector < baseclass > &bcs). If I have a vector of subclass objects, as vector < subclass > sc, and call mod(sc), I get the error "A reference that is not to 'const' cannot be bound to a non-lvalue". Doing this without vectors is no problem; i.e, void mod(baseclass &bc), subclass sc; call mod(sc). I can get around this by defining 2 sum(*) functions, one with a baseclass parameter and one with a subclass parameter, but there goes the use of inheritance. The vector will by modified by mod(*), so I don't want to pass as const. Is there a way I can use 1 function on both the base and sub classes? Thanks.
AnswerRe: can one use vectors of subclasses in a parameter list? Pin
Kevin McFarlane18-Feb-10 9:25
Kevin McFarlane18-Feb-10 9:25 
AnswerRe: can one use vectors of subclasses in a parameter list? [modified] Pin
Avi Berger18-Feb-10 10:14
Avi Berger18-Feb-10 10:14 
GeneralRe: can one use vectors of subclasses in a parameter list? Pin
genush18-Feb-10 10:35
genush18-Feb-10 10:35 
AnswerRe: can one use vectors of subclasses in a parameter list? Pin
Chris Losinger18-Feb-10 12:57
professionalChris Losinger18-Feb-10 12:57 
GeneralRe: can one use vectors of subclasses in a parameter list? Pin
Stephen Hewitt20-Feb-10 3:28
Stephen Hewitt20-Feb-10 3:28 
QuestionHow to detect EBCDIC Pin
Hans Dietrich18-Feb-10 8:28
mentorHans Dietrich18-Feb-10 8:28 
AnswerRe: How to detect EBCDIC Pin
Garth J Lancaster18-Feb-10 10:16
professionalGarth J Lancaster18-Feb-10 10:16 
GeneralRe: How to detect EBCDIC Pin
Hans Dietrich18-Feb-10 10:36
mentorHans Dietrich18-Feb-10 10:36 
QuestionRe: How to detect EBCDIC Pin
David Crow18-Feb-10 15:22
David Crow18-Feb-10 15:22 
AnswerRe: How to detect EBCDIC Pin
Luc Pattyn18-Feb-10 10:25
sitebuilderLuc Pattyn18-Feb-10 10:25 
GeneralRe: How to detect EBCDIC Pin
Garth J Lancaster18-Feb-10 10:46
professionalGarth J Lancaster18-Feb-10 10:46 
GeneralRe: How to detect EBCDIC Pin
Hans Dietrich18-Feb-10 10:55
mentorHans Dietrich18-Feb-10 10:55 
RantRe: How to detect EBCDIC (not a helpful answer, just a comment) Pin
Gary R. Wheeler21-Feb-10 1:56
Gary R. Wheeler21-Feb-10 1:56 
GeneralRe: How to detect EBCDIC (not a helpful answer, just a comment) Pin
Rozis21-Feb-10 11:00
Rozis21-Feb-10 11:00 
QuestionMAPIEx Libraries when OutLook is offline Pin
kasi1418-Feb-10 7:17
kasi1418-Feb-10 7:17 
QuestionERROR_INVALID_FUNCTION when calling WriteFile Pin
krishiyengar18-Feb-10 6:08
krishiyengar18-Feb-10 6:08 
QuestionMessage Removed Pin
18-Feb-10 5:25
tokime18-Feb-10 5:25 

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.