Click here to Skip to main content
15,912,977 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Capture control Pin
Nibu babu thomas11-Jun-08 2:14
Nibu babu thomas11-Jun-08 2:14 
GeneralRe: Capture control Pin
capint11-Jun-08 3:02
capint11-Jun-08 3:02 
GeneralRe: Capture control Pin
Nibu babu thomas11-Jun-08 3:05
Nibu babu thomas11-Jun-08 3:05 
QuestionHow to use "IOlkAccount" and other outklook related interfaces through VC++ Pin
Vikash Singh10-Jun-08 23:09
Vikash Singh10-Jun-08 23:09 
QuestionConvert int to wstring Pin
CodingLover10-Jun-08 22:34
CodingLover10-Jun-08 22:34 
AnswerRe: Convert int to wstring Pin
Naveen10-Jun-08 22:36
Naveen10-Jun-08 22:36 
NewsRe: Convert int to wstring Pin
CodingLover10-Jun-08 22:44
CodingLover10-Jun-08 22:44 
GeneralRe: Convert int to wstring Pin
Cedric Moonen10-Jun-08 22:56
Cedric Moonen10-Jun-08 22:56 
The second parameter that the function accepts is a wchar array, not a wstring. It is totally different: a wstring is a specific class, and a wchar is a basic type (unsigned short). If you want it to work, you first have to create a wchar array, then pass it to the function and then store it in your string (it has an = operator to do that).

Anyway, this method is more a C approach than a C++ approach. If you use a wstring, I suggest that you also use a wstringstream, but that's just a matter of opinion Smile | :) .

Cédric Moonen
Software developer

Charting control [v1.4]

GeneralRe: Convert int to wstring Pin
CodingLover10-Jun-08 23:02
CodingLover10-Jun-08 23:02 
AnswerRe: Convert int to wstring Pin
Cedric Moonen10-Jun-08 22:39
Cedric Moonen10-Jun-08 22:39 
NewsRe: Convert int to wstring Pin
CodingLover10-Jun-08 22:52
CodingLover10-Jun-08 22:52 
QuestionVLC control help(VC++ Dialog based aplication) Pin
projectip10-Jun-08 21:51
projectip10-Jun-08 21:51 
AnswerRe: VLC control help(VC++ Dialog based aplication) Pin
Hamid_RT10-Jun-08 22:18
Hamid_RT10-Jun-08 22:18 
GeneralRe: VLC control help(VC++ Dialog based aplication) Pin
projectip10-Jun-08 23:23
projectip10-Jun-08 23:23 
QuestionGetting 3 characters from right in TCHAR variable Pin
VCProgrammer10-Jun-08 21:44
VCProgrammer10-Jun-08 21:44 
AnswerRe: Getting 3 characters from right in TCHAR variable [modified] Pin
Naveen10-Jun-08 22:02
Naveen10-Jun-08 22:02 
AnswerRe: Getting 3 characters from right in TCHAR variable Pin
CPallini10-Jun-08 22:51
mveCPallini10-Jun-08 22:51 
AnswerRe: Getting 3 characters from right in TCHAR variable Pin
JudyL_MD11-Jun-08 1:51
JudyL_MD11-Jun-08 1:51 
QuestionUnhandled exception at 0x00000000 Pin
rp_suman10-Jun-08 21:37
rp_suman10-Jun-08 21:37 
AnswerRe: Unhandled exception at 0x00000000 Pin
Cedric Moonen10-Jun-08 21:38
Cedric Moonen10-Jun-08 21:38 
GeneralRe: Unhandled exception at 0x00000000 Pin
rp_suman10-Jun-08 21:41
rp_suman10-Jun-08 21:41 
GeneralRe: Unhandled exception at 0x00000000 Pin
Cedric Moonen10-Jun-08 22:20
Cedric Moonen10-Jun-08 22:20 
GeneralRe: Unhandled exception at 0x00000000 Pin
rp_suman10-Jun-08 22:42
rp_suman10-Jun-08 22:42 
GeneralRe: Unhandled exception at 0x00000000 Pin
Alan Balkany11-Jun-08 3:11
Alan Balkany11-Jun-08 3:11 
AnswerRe: Unhandled exception at 0x00000000 Pin
Sameerkumar Namdeo10-Jun-08 21:49
Sameerkumar Namdeo10-Jun-08 21:49 

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.