Click here to Skip to main content
15,919,879 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: std::string to const WCHAR* Pin
David Crow28-Sep-06 9:23
David Crow28-Sep-06 9:23 
GeneralRe: std::string to const WCHAR* Pin
Zac Howland28-Sep-06 9:24
Zac Howland28-Sep-06 9:24 
GeneralRe: std::string to const WCHAR* Pin
Stick^28-Sep-06 11:41
Stick^28-Sep-06 11:41 
GeneralRe: std::string to const WCHAR* [modified] Pin
George L. Jackson28-Sep-06 12:50
George L. Jackson28-Sep-06 12:50 
GeneralRe: std::string to const WCHAR* Pin
Jörgen Sigvardsson28-Sep-06 14:14
Jörgen Sigvardsson28-Sep-06 14:14 
GeneralRe: std::string to const WCHAR* Pin
Stick^29-Sep-06 6:54
Stick^29-Sep-06 6:54 
GeneralRe: std::string to const WCHAR* Pin
Zac Howland29-Sep-06 3:33
Zac Howland29-Sep-06 3:33 
GeneralRe: std::string to const WCHAR* Pin
James R. Twine30-Sep-06 18:40
James R. Twine30-Sep-06 18:40 
   Actually, the OP is using the GDI+ classes, and they tend to always accept wide strings, and not have A or W versions of functions that are aliased-to depending on the build.  For example, GDI+'s three versions of the Graphics::DrawString(...) function all take a const WCHAR* as the string type.

   Peace!

-=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites
(Please rate this post!)

GeneralRe: std::string to const WCHAR* Pin
Stick^29-Sep-06 6:52
Stick^29-Sep-06 6:52 
QuestionNewbie Help Please Pin
Mithin28-Sep-06 7:18
Mithin28-Sep-06 7:18 
QuestionRe: Newbie Help Please Pin
David Crow28-Sep-06 7:51
David Crow28-Sep-06 7:51 
AnswerRe: Newbie Help Please Pin
Mithin28-Sep-06 8:14
Mithin28-Sep-06 8:14 
GeneralRe: Newbie Help Please Pin
David Crow28-Sep-06 8:46
David Crow28-Sep-06 8:46 
QuestionLoading a bitmap from a *.BMP file Pin
TheDelChop28-Sep-06 7:10
TheDelChop28-Sep-06 7:10 
AnswerRe: Loading a bitmap from a *.BMP file Pin
Chris Losinger28-Sep-06 7:25
professionalChris Losinger28-Sep-06 7:25 
GeneralRe: Loading a bitmap from a *.BMP file Pin
TheDelChop28-Sep-06 7:27
TheDelChop28-Sep-06 7:27 
GeneralRe: Loading a bitmap from a *.BMP file Pin
Chris Losinger28-Sep-06 7:38
professionalChris Losinger28-Sep-06 7:38 
GeneralRe: Loading a bitmap from a *.BMP file Pin
TheDelChop28-Sep-06 7:44
TheDelChop28-Sep-06 7:44 
GeneralRe: Loading a bitmap from a *.BMP file Pin
Chris Losinger28-Sep-06 7:54
professionalChris Losinger28-Sep-06 7:54 
GeneralRe: Loading a bitmap from a *.BMP file Pin
TheDelChop28-Sep-06 9:15
TheDelChop28-Sep-06 9:15 
GeneralRe: Loading a bitmap from a *.BMP file Pin
Chris Losinger28-Sep-06 9:30
professionalChris Losinger28-Sep-06 9:30 
GeneralRe: Loading a bitmap from a *.BMP file Pin
nutkase28-Sep-06 17:51
nutkase28-Sep-06 17:51 
AnswerRe: Loading a bitmap from a *.BMP file Pin
Hamid_RT29-Sep-06 7:43
Hamid_RT29-Sep-06 7:43 
QuestionWarning: no message line prompt for ID 0x8005. Pin
pc_dev28-Sep-06 5:54
pc_dev28-Sep-06 5:54 
AnswerRe: Warning: no message line prompt for ID 0x8005. Pin
James R. Twine28-Sep-06 8:53
James R. Twine28-Sep-06 8: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.