Click here to Skip to main content
15,896,207 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: including vector header Pin
toxcct29-Nov-07 1:35
toxcct29-Nov-07 1:35 
GeneralRe: including vector header Pin
Schehaider_Aymen29-Nov-07 1:39
Schehaider_Aymen29-Nov-07 1:39 
GeneralRe: including vector header Pin
toxcct29-Nov-07 1:43
toxcct29-Nov-07 1:43 
GeneralRe: including vector header Pin
Schehaider_Aymen29-Nov-07 1:36
Schehaider_Aymen29-Nov-07 1:36 
GeneralRe: including vector header Pin
toxcct29-Nov-07 1:44
toxcct29-Nov-07 1:44 
GeneralRe: including vector header Pin
Schehaider_Aymen29-Nov-07 1:49
Schehaider_Aymen29-Nov-07 1:49 
Questionconvert from 'wchar_t *' to 'LPCSTR' Pin
neha.agarwal2729-Nov-07 0:34
neha.agarwal2729-Nov-07 0:34 
QuestionWhy do you need it? Pin
CPallini29-Nov-07 0:56
mveCPallini29-Nov-07 0:56 
Why do you need a LPCSTR?

I mean, you have several options:
(1) Make an ANSI build of your code instead of a UNICODE one (default on VC2005). And your code will compile.

(2) Use LPCTSTR instead of LPCSTR, and probably, your code will be happy with this (since it is a UNICODE build).

(3) If you try point (2) and it doesn't work (maybe there is explicit use of ANSI functions in your code) the you have to convert the wide-character string to the ANSI counterpart
(may use WideCharToMultiByte for the purpose).

Smile | :)


If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

AnswerRe: convert from 'wchar_t *' to 'LPCSTR' Pin
David Crow29-Nov-07 3:26
David Crow29-Nov-07 3:26 
QuestionISAPI redirection filter in MFC Pin
Jhony george29-Nov-07 0:31
Jhony george29-Nov-07 0:31 
Questionconvert bmp to pdf Pin
keyto29-Nov-07 0:19
keyto29-Nov-07 0:19 
AnswerRe: convert bmp to pdf Pin
Nelek29-Nov-07 0:28
protectorNelek29-Nov-07 0:28 
GeneralRe: convert bmp to pdf Pin
keyto29-Nov-07 0:52
keyto29-Nov-07 0:52 
GeneralRe: convert bmp to pdf Pin
Nelek29-Nov-07 1:33
protectorNelek29-Nov-07 1:33 
QuestionRinjdael Algorithm Pin
nimsrav29-Nov-07 0:11
nimsrav29-Nov-07 0:11 
AnswerTry to post your question to the right forum Pin
CPallini29-Nov-07 0:19
mveCPallini29-Nov-07 0:19 
AnswerRe: Rinjdael Algorithm Pin
_Pinux_29-Nov-07 2:19
_Pinux_29-Nov-07 2:19 
QuestionCurrent focus Pin
Maynka28-Nov-07 23:57
Maynka28-Nov-07 23:57 
AnswerRe: Current focus Pin
CPallini29-Nov-07 0:15
mveCPallini29-Nov-07 0:15 
AnswerRe: Current focus Pin
Jhony george29-Nov-07 0:34
Jhony george29-Nov-07 0:34 
QuestionP [modified] Pin
prithaa28-Nov-07 23:50
prithaa28-Nov-07 23:50 
AnswerRe: P [modified] Pin
prithaa29-Nov-07 0:40
prithaa29-Nov-07 0:40 
GeneralRe: P [modified] Pin
markkuk29-Nov-07 0:58
markkuk29-Nov-07 0:58 
QuestionRe: P [modified] Pin
David Crow29-Nov-07 3:31
David Crow29-Nov-07 3:31 
AnswerRe: P Pin
prithaa29-Nov-07 17:17
prithaa29-Nov-07 17:17 

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.