Click here to Skip to main content
15,925,042 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionAnyone can help me about Html Help Workshop? Pin
Anonymous3-Sep-05 1:54
Anonymous3-Sep-05 1:54 
AnswerRe: Anyone can help me about Html Help Workshop? Pin
Gary R. Wheeler3-Sep-05 2:18
Gary R. Wheeler3-Sep-05 2:18 
QuestionFinding the same function in VC++ Pin
KaGeU3-Sep-05 0:09
KaGeU3-Sep-05 0:09 
AnswerRe: Finding the same function in VC++ Pin
toxcct3-Sep-05 0:29
toxcct3-Sep-05 0:29 
GeneralRe: Finding the same function in VC++ Pin
KaGeU3-Sep-05 0:46
KaGeU3-Sep-05 0:46 
QuestionShortcut keys - Runtime? Pin
G Haranadh2-Sep-05 23:39
G Haranadh2-Sep-05 23:39 
AnswerRe: Shortcut keys - Runtime? Pin
Jose Lamas Rios4-Sep-05 20:20
Jose Lamas Rios4-Sep-05 20:20 
QuestionUnicode Release? Pin
G Haranadh2-Sep-05 23:13
G Haranadh2-Sep-05 23:13 
Hello,
How can I get unicode build?
I got these two errors after my trying.

C:\haranadh\abc.cpp(185) : error C2664: 'lstrcpyW' : cannot convert parameter 1 from 'char [32]' to 'unsigned short *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:\haranadh\abc.cpp(187) : error C2665: 'AfxMessageBox' : none of the 2 overloads can convert parameter 1 from type 'char [32]'
Error executing cl.exe.

abc.exe - 2 error(s), 0 warning(s)

My code is as follows-
----------------------
struct ABCAAA
{
UINT cbSize;
DWORD dwMask;
DWORD dwEffects;
LONG yHeight;
LONG yOffset;
COLORREF crTextColor;
BYTE bCharSet;
BYTE bPitchAndFamily;
char szFaceName[32];
};

void CAbcDlg::OnMyButton()
{
ABCAAA cf;
lstrcpy(cf.szFaceName,_T("Wingdings 3"));
AfxMessageBox(cf.szFaceName);
}
-----
Here I changed some settings of vc++ to build my project in Unicode build.
1)I added in Project Settings->Link->Object/Librirary Modules-> version.lib Winmm.lib
2)Project Settings->C/C++->Preprocessor Definitions->WIN32,NDEBUG,_WINDOWS,_AFXDLL,_MBCS,UNICODE
-----
but I got errors. Previously before changes It works fine.
How can I get unicode build?
Tox, Alok or Anyone Please Help me.

AnswerRe: Unicode Release? Pin
Michael Dunn2-Sep-05 23:17
sitebuilderMichael Dunn2-Sep-05 23:17 
GeneralRe: Unicode Release? Pin
G Haranadh2-Sep-05 23:24
G Haranadh2-Sep-05 23:24 
General[Msg Deleted] Pin
sunit53-Sep-05 0:21
sunit53-Sep-05 0:21 
GeneralRe: Unicode Release? Pin
G Haranadh3-Sep-05 0:26
G Haranadh3-Sep-05 0:26 
AnswerRe: Unicode Release? Pin
Jose Lamas Rios3-Sep-05 11:23
Jose Lamas Rios3-Sep-05 11:23 
Questionproblem in cutting string Pin
Ankit Aneja2-Sep-05 23:07
Ankit Aneja2-Sep-05 23:07 
AnswerRe: problem in cutting string Pin
Michael Dunn2-Sep-05 23:14
sitebuilderMichael Dunn2-Sep-05 23:14 
GeneralRe: problem in cutting string Pin
Ankit Aneja2-Sep-05 23:34
Ankit Aneja2-Sep-05 23:34 
AnswerRe: problem in cutting string Pin
ThatsAlok3-Sep-05 0:12
ThatsAlok3-Sep-05 0:12 
GeneralRe: problem in cutting string Pin
Ankit Aneja3-Sep-05 0:46
Ankit Aneja3-Sep-05 0:46 
JokeRe: problem in cutting string Pin
ThatsAlok3-Sep-05 1:50
ThatsAlok3-Sep-05 1:50 
GeneralRe: problem in cutting string Pin
Ankit Aneja3-Sep-05 2:24
Ankit Aneja3-Sep-05 2:24 
GeneralRe: problem in cutting string Pin
Prakash Nadar3-Sep-05 16:02
Prakash Nadar3-Sep-05 16:02 
QuestionHow to use ExecWB method? Pin
Roozbeh692-Sep-05 22:07
professionalRoozbeh692-Sep-05 22:07 
Questionconcept of & Pin
Rupali sarda2-Sep-05 21:55
Rupali sarda2-Sep-05 21:55 
AnswerRe: concept of & Pin
toxcct2-Sep-05 22:48
toxcct2-Sep-05 22:48 
AnswerRe: concept of & Pin
Michael Dunn2-Sep-05 22:53
sitebuilderMichael Dunn2-Sep-05 22:53 

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.