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

C / C++ / MFC

 
QuestionConverting from wchar_t* to char* Pin
Allad27-Jan-06 7:59
Allad27-Jan-06 7:59 
AnswerRe: Converting from wchar_t* to char* Pin
Jim Crafton27-Jan-06 8:03
Jim Crafton27-Jan-06 8:03 
AnswerRe: Converting from wchar_t* to char* Pin
Jack Puppy27-Jan-06 8:42
Jack Puppy27-Jan-06 8:42 
GeneralRe: Converting from wchar_t* to char* Pin
Allad27-Jan-06 22:52
Allad27-Jan-06 22:52 
GeneralRe: Converting from wchar_t* to char* Pin
Jörgen Sigvardsson28-Jan-06 0:52
Jörgen Sigvardsson28-Jan-06 0:52 
GeneralRe: Converting from wchar_t* to char* Pin
Rob Caldecott28-Jan-06 2:08
Rob Caldecott28-Jan-06 2:08 
GeneralRe: Converting from wchar_t* to char* Pin
Jörgen Sigvardsson28-Jan-06 6:34
Jörgen Sigvardsson28-Jan-06 6:34 
GeneralRe: Converting from wchar_t* to char* Pin
Allad28-Jan-06 11:41
Allad28-Jan-06 11:41 
Jack Squirrel wrote:
The common Win32 routine is WideCharToMultiByte.

I've read the MSDN page on WideCharToMultibyte. However, I can't figure out how to properly do the conversion. WCharToMutibyte has lots of conversion flags and I'm not very used to code pages and so
on.
Can you please tell me how to convert a simple wide char string pointer to usual one byte char pointer?

Thanks,
Allad
AnswerRe: Converting from wchar_t* to char* Pin
Stephen Hewitt28-Jan-06 1:15
Stephen Hewitt28-Jan-06 1:15 
GeneralRe: Converting from wchar_t* to char* Pin
Allad28-Jan-06 11:33
Allad28-Jan-06 11:33 
GeneralRe: Converting from wchar_t* to char* Pin
Stephen Hewitt28-Jan-06 18:12
Stephen Hewitt28-Jan-06 18:12 
GeneralRe: Converting from wchar_t* to char* Pin
Allad28-Jan-06 18:23
Allad28-Jan-06 18:23 
GeneralRe: Converting from wchar_t* to char* Pin
Stephen Hewitt28-Jan-06 18:35
Stephen Hewitt28-Jan-06 18:35 
QuestionMoving the hole Pin
eivanlo27-Jan-06 7:20
eivanlo27-Jan-06 7:20 
AnswerRe: Moving the hole Pin
Bob Ciora27-Jan-06 12:03
Bob Ciora27-Jan-06 12:03 
QuestionHow do you get Vc6 apps to look themed in Vc8? Pin
Swinefeaster27-Jan-06 7:12
Swinefeaster27-Jan-06 7:12 
AnswerRe: How do you get Vc6 apps to look themed in Vc8? Pin
Jack Puppy27-Jan-06 8:37
Jack Puppy27-Jan-06 8:37 
GeneralRe: How do you get Vc6 apps to look themed in Vc8? Pin
Swinefeaster27-Jan-06 10:44
Swinefeaster27-Jan-06 10:44 
GeneralRe: How do you get Vc6 apps to look themed in Vc8? Pin
Jack Puppy27-Jan-06 13:25
Jack Puppy27-Jan-06 13:25 
GeneralRe: How do you get Vc6 apps to look themed in Vc8? Pin
Prakash Nadar27-Jan-06 22:37
Prakash Nadar27-Jan-06 22:37 
GeneralRe: How do you get Vc6 apps to look themed in Vc8? Pin
Swinefeaster3-Feb-06 8:10
Swinefeaster3-Feb-06 8:10 
QuestionHow to find total memory a process is using? Pin
sysop@HAL9K.com27-Jan-06 5:27
sysop@HAL9K.com27-Jan-06 5:27 
AnswerRe: How to find total memory a process is using? Pin
Toby Opferman27-Jan-06 7:20
Toby Opferman27-Jan-06 7:20 
GeneralRe: How to find total memory a process is using? Pin
Toby Opferman27-Jan-06 7:39
Toby Opferman27-Jan-06 7:39 
AnswerRe: How to find total memory a process is using? Pin
sysop@HAL9K.com27-Jan-06 9:24
sysop@HAL9K.com27-Jan-06 9:24 

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.