Click here to Skip to main content
15,889,216 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMaking icons? Pin
Anthony Appleyard29-Nov-13 23:13
Anthony Appleyard29-Nov-13 23:13 
AnswerRe: Making icons? Pin
Richard MacCutchan29-Nov-13 23:59
mveRichard MacCutchan29-Nov-13 23:59 
AnswerRe: Making icons? Pin
Richard Andrew x6430-Nov-13 7:53
professionalRichard Andrew x6430-Nov-13 7:53 
GeneralRe: Making icons? Pin
David Crow30-Nov-13 14:56
David Crow30-Nov-13 14:56 
AnswerRe: Making icons? Pin
«_Superman_»1-Dec-13 18:42
professional«_Superman_»1-Dec-13 18:42 
GeneralIn conjunction with Pin
enhzflep3-Dec-13 6:43
enhzflep3-Dec-13 6:43 
AnswerRe: Making icons? Pin
Joe Woodbury2-Dec-13 9:02
professionalJoe Woodbury2-Dec-13 9:02 
QuestionVisual C++ 2008 query Pin
Anthony Appleyard29-Nov-13 21:38
Anthony Appleyard29-Nov-13 21:38 
I have Visual C++ 2008. I have written several programs using it over years.

In one of these programs is

MessageBox(0,Outfile,"output to file",MB_OK);

If I rebuild in debug mode, it compiles and links OK.

If I rebuild in release mode, I get this fault:

error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'char [1024]' to 'LPCWSTR'

Outfile is declared as char[1024]. What should I set where to get it to assemble/link the .exe file using the version of MessageBox() that needs char[] mode parameters and not the version that needs array-of-long-character parameters?

modified 30-Nov-13 3:45am.

AnswerRe: Visual C++ 2008 query Pin
Jochen Arndt29-Nov-13 22:14
professionalJochen Arndt29-Nov-13 22:14 
GeneralRe: Visual C++ 2008 query Pin
Anthony Appleyard29-Nov-13 22:48
Anthony Appleyard29-Nov-13 22:48 
GeneralRe: Visual C++ 2008 query Pin
Jochen Arndt29-Nov-13 23:03
professionalJochen Arndt29-Nov-13 23:03 
GeneralRe: Visual C++ 2008 query Pin
Anthony Appleyard29-Nov-13 23:10
Anthony Appleyard29-Nov-13 23:10 
Questiondrawing butterfly network Pin
Member 1041597029-Nov-13 9:04
Member 1041597029-Nov-13 9:04 
AnswerRe: drawing butterfly network Pin
Richard Andrew x6429-Nov-13 15:01
professionalRichard Andrew x6429-Nov-13 15:01 
SuggestionRe: drawing butterfly network Pin
Richard MacCutchan29-Nov-13 22:37
mveRichard MacCutchan29-Nov-13 22:37 
QuestionCDialogbar's button tooltip can't show Pin
D.Manivelan29-Nov-13 2:16
D.Manivelan29-Nov-13 2:16 
SuggestionRe: CDialogbar's button tooltip can't show Pin
Richard MacCutchan29-Nov-13 6:07
mveRichard MacCutchan29-Nov-13 6:07 
QuestionMultiple dynamically created Spin Button Controls Pin
gokings27-Nov-13 11:37
gokings27-Nov-13 11:37 
AnswerRe: Multiple dynamically created Spin Button Controls Pin
Richard MacCutchan27-Nov-13 22:15
mveRichard MacCutchan27-Nov-13 22:15 
GeneralRe: Multiple dynamically created Spin Button Controls Pin
gokings28-Nov-13 7:08
gokings28-Nov-13 7:08 
QuestionCJBK_View::OnDraw(CDC* p_DC) Pin
BarryPearlman27-Nov-13 10:50
BarryPearlman27-Nov-13 10:50 
AnswerRe: CJBK_View::OnDraw(CDC* p_DC) Pin
Richard MacCutchan27-Nov-13 22:10
mveRichard MacCutchan27-Nov-13 22:10 
AnswerRe: CJBK_View::OnDraw(CDC* p_DC) Pin
BarryPearlman28-Nov-13 10:28
BarryPearlman28-Nov-13 10:28 
GeneralRe: CJBK_View::OnDraw(CDC* p_DC) Pin
Richard MacCutchan28-Nov-13 22:41
mveRichard MacCutchan28-Nov-13 22:41 
QuestionFriend Operators of Template Classes Pin
Skippums27-Nov-13 7:00
Skippums27-Nov-13 7:00 

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.