Click here to Skip to main content
16,015,393 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Cleaning up from Visual Studio 6 Pin
dazinith31-May-02 3:20
dazinith31-May-02 3:20 
GeneralRe: Cleaning up from Visual Studio 6 Pin
James R. Twine31-May-02 10:53
James R. Twine31-May-02 10:53 
GeneralRe: Cleaning up from Visual Studio 6 Pin
mocotrah31-Aug-02 3:01
mocotrah31-Aug-02 3:01 
QuestionHow to use Unicode to std::ostrstream Pin
JohnnyG30-May-02 9:26
JohnnyG30-May-02 9:26 
AnswerRe: How to use Unicode to std::ostrstream Pin
Rama Krishna Vavilala30-May-02 9:35
Rama Krishna Vavilala30-May-02 9:35 
GeneralRe: How to use Unicode to std::ostrstream Pin
JohnnyG30-May-02 10:58
JohnnyG30-May-02 10:58 
GeneralRe: How to use Unicode to std::ostrstream Pin
Rama Krishna Vavilala30-May-02 11:04
Rama Krishna Vavilala30-May-02 11:04 
GeneralRe: How to use Unicode to std::ostrstream Pin
JohnnyG31-May-02 3:44
JohnnyG31-May-02 3:44 
I must be missing something. I get what you are saying about using _tcscpy() but the second parameter in the code you posted would be an ANSI string which would work if _UNICODE is not defined. But if it is, then I would get a compile error: cannot convert parameter 2 from 'const char *' to 'const unsigned short *'

I have researched that there is a "wide char" version of this ostringstream class called, wostringstream. But, I would run into the same problem when it comes to converting it in the _tcscpy(). That is, if I am using .c_str(). How do I convert properly?
GeneralRe: How to use Unicode to std::ostrstream Pin
Rama Krishna Vavilala31-May-02 3:43
Rama Krishna Vavilala31-May-02 3:43 
GeneralRe: How to use Unicode to std::ostrstream Pin
JohnnyG31-May-02 3:54
JohnnyG31-May-02 3:54 
GeneralCurrent time Pin
esapp42030-May-02 8:49
esapp42030-May-02 8:49 
GeneralRe: Current time Pin
Ravi Bhavnani30-May-02 9:18
professionalRavi Bhavnani30-May-02 9:18 
GeneralRe: Current time Pin
Bill Wilson30-May-02 11:56
Bill Wilson30-May-02 11:56 
Generalsetting text inside CHtmlView Pin
Big B30-May-02 8:34
Big B30-May-02 8:34 
GeneralRe: setting text inside CHtmlView Pin
S Fewings30-May-02 20:30
S Fewings30-May-02 20:30 
QuestionUser draw Combobox - MeasureItem doesn't get called!? Pin
30-May-02 6:57
suss30-May-02 6:57 
AnswerRe: User draw Combobox - MeasureItem doesn't get called!? Pin
Tomasz Sowinski30-May-02 13:01
Tomasz Sowinski30-May-02 13:01 
GeneralRe: User draw Combobox - MeasureItem doesn't get called!? Pin
30-May-02 13:51
suss30-May-02 13:51 
GeneralComponents and Controls in VC7 Pin
Le centriste30-May-02 6:42
Le centriste30-May-02 6:42 
GeneralRe: Components and Controls in VC7 Pin
Rama Krishna Vavilala30-May-02 7:23
Rama Krishna Vavilala30-May-02 7:23 
GeneralRe: Components and Controls in VC7 Pin
Mazdak30-May-02 9:20
Mazdak30-May-02 9:20 
GeneralRe: Components and Controls in VC7 Pin
Le centriste30-May-02 9:28
Le centriste30-May-02 9:28 
GeneralRe: Components and Controls in VC7 Pin
Mazdak30-May-02 21:16
Mazdak30-May-02 21:16 
GeneralWorker Threads and GetExitCodeThread() Pin
Chris Meech30-May-02 6:36
Chris Meech30-May-02 6:36 
GeneralRe: Worker Threads and GetExitCodeThread() Pin
Prem Kumar30-May-02 7:11
Prem Kumar30-May-02 7:11 

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.