Click here to Skip to main content
15,867,453 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionXP/Vista Styles Pin
The_Judgement21-Mar-09 9:27
The_Judgement21-Mar-09 9:27 
AnswerRe: XP/Vista Styles Pin
Code-o-mat21-Mar-09 10:35
Code-o-mat21-Mar-09 10:35 
GeneralRe: XP/Vista Styles Pin
The_Judgement21-Mar-09 11:14
The_Judgement21-Mar-09 11:14 
GeneralRe: XP/Vista Styles Pin
Code-o-mat21-Mar-09 11:27
Code-o-mat21-Mar-09 11:27 
GeneralRe: XP/Vista Styles Pin
The_Judgement21-Mar-09 12:41
The_Judgement21-Mar-09 12:41 
GeneralRe: XP/Vista Styles Pin
Code-o-mat21-Mar-09 23:04
Code-o-mat21-Mar-09 23:04 
GeneralRe: XP/Vista Styles [modified] Pin
The_Judgement22-Mar-09 11:28
The_Judgement22-Mar-09 11:28 
QuestionUnicode.. Pin
p_196021-Mar-09 7:36
p_196021-Mar-09 7:36 
Hi,
Really im getting confused in using unicode in my project.....When im writing the code using ANSI it is working fine but when im writing code in Unicode im getting lot of errors....im confused with LPCWSTR,LPCSTR,LPWSTR,LPBYTE.....some functions take some of these as parameters but im really confused of using them, can i get any basic article to start with.....bcos lot of time wasted by just not knowing how to use these things....
suppose

CString csPath="D:\\test";
::CreateDirectory(csPath+_T("\\tester"),NULL);

the above code works fine in ANSI but gives errors in Unicode like
cannot convert parameter 1 from 'ATL::CStringT<BaseType,StringTraits>' to 'LPCWSTR'

how to convert CString to LPCWSTR or What parameter should i use in CreateDirectoryW() instaed of CString....


Please help me out.......
AnswerRe: Unicode.. Pin
CPallini21-Mar-09 7:48
mveCPallini21-Mar-09 7:48 
AnswerRe: Unicode.. Pin
Jörgen Sigvardsson21-Mar-09 22:43
Jörgen Sigvardsson21-Mar-09 22:43 
Questionconvert Pin
durban221-Mar-09 5:07
durban221-Mar-09 5:07 
QuestionRe: convert Pin
CPallini21-Mar-09 5:13
mveCPallini21-Mar-09 5:13 
AnswerRe: convert Pin
Dominik Reichl21-Mar-09 5:14
Dominik Reichl21-Mar-09 5:14 
AnswerRe: convert Pin
Akt_4_U21-Mar-09 5:52
Akt_4_U21-Mar-09 5:52 
AnswerRe: convert Pin
Eytukan21-Mar-09 22:02
Eytukan21-Mar-09 22:02 
Questionhow to write list control data in text file in MFC Pin
amit14aug21-Mar-09 4:38
amit14aug21-Mar-09 4:38 
AnswerRe: how to write list control data in text file in MFC Pin
Rajesh R Subramanian21-Mar-09 4:41
professionalRajesh R Subramanian21-Mar-09 4:41 
Questionpointer-to-array Pin
korte2521-Mar-09 3:49
korte2521-Mar-09 3:49 
AnswerRe: pointer-to-array Pin
CPallini21-Mar-09 4:09
mveCPallini21-Mar-09 4:09 
GeneralRe: pointer-to-array Pin
korte2521-Mar-09 6:09
korte2521-Mar-09 6:09 
GeneralRe: pointer-to-array Pin
CPallini21-Mar-09 6:25
mveCPallini21-Mar-09 6:25 
GeneralRe: pointer-to-array Pin
korte2521-Mar-09 6:57
korte2521-Mar-09 6:57 
GeneralRe: pointer-to-array Pin
CPallini21-Mar-09 7:41
mveCPallini21-Mar-09 7:41 
GeneralRe: pointer-to-array Pin
korte2521-Mar-09 7:44
korte2521-Mar-09 7:44 
GeneralRe: pointer-to-array Pin
CPallini21-Mar-09 7:48
mveCPallini21-Mar-09 7:48 

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.