Click here to Skip to main content
15,915,094 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Digital Camera Pin
natrum1000012-Apr-07 0:01
natrum1000012-Apr-07 0:01 
QuestionCatching the enter keydown with several edit controls Pin
Accius10-Apr-07 23:35
Accius10-Apr-07 23:35 
AnswerRe: Catching the enter keydown with several edit controls Pin
vimarsh puneet10-Apr-07 23:46
vimarsh puneet10-Apr-07 23:46 
QuestionConverting character array to LPCTSTR Pin
siddharthsan10-Apr-07 23:16
siddharthsan10-Apr-07 23:16 
AnswerRe: Converting character array to LPCTSTR Pin
Programm3r10-Apr-07 23:33
Programm3r10-Apr-07 23:33 
GeneralRe: Converting character array to LPCTSTR Pin
CPallini10-Apr-07 23:43
mveCPallini10-Apr-07 23:43 
GeneralRe: Converting character array to LPCTSTR Pin
Programm3r10-Apr-07 23:47
Programm3r10-Apr-07 23:47 
AnswerRe: Converting character array to LPCTSTR Pin
CPallini10-Apr-07 23:41
mveCPallini10-Apr-07 23:41 
if _UNICODE is NOT defined, then you can do a simple cast:
LPCTSTR lp = (LPCTSTR) a;


however, if _UNICODE is defined, the you have to perform a conversion, using, for instance, MultiByteToWideChar function [^].
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.

QuestionRIL_Initialize returns S_FALSE Pin
dishadiv10-Apr-07 23:12
dishadiv10-Apr-07 23:12 
QuestionRe: RIL_Initialize returns S_FALSE Pin
Programm3r10-Apr-07 23:48
Programm3r10-Apr-07 23:48 
AnswerRe: RIL_Initialize returns S_FALSE Pin
dishadiv11-Apr-07 0:16
dishadiv11-Apr-07 0:16 
AnswerRe: RIL_Initialize returns S_FALSE Pin
prasad_som11-Apr-07 0:05
prasad_som11-Apr-07 0:05 
GeneralRe: RIL_Initialize returns S_FALSE Pin
dishadiv11-Apr-07 0:15
dishadiv11-Apr-07 0:15 
AnswerRe: RIL_Initialize returns S_FALSE Pin
dishadiv11-Apr-07 0:09
dishadiv11-Apr-07 0:09 
QuestionCString problems from VC++ 6.0 to Visual Studio 2005 Pin
GDavy10-Apr-07 22:23
GDavy10-Apr-07 22:23 
AnswerRe: CString problems from VC++ 6.0 to Visual Studio 2005 Pin
prasad_som10-Apr-07 22:33
prasad_som10-Apr-07 22:33 
GeneralRe: CString problems from VC++ 6.0 to Visual Studio 2005 Pin
GDavy10-Apr-07 22:45
GDavy10-Apr-07 22:45 
GeneralRe: CString problems from VC++ 6.0 to Visual Studio 2005 Pin
Cedric Moonen10-Apr-07 22:52
Cedric Moonen10-Apr-07 22:52 
GeneralRe: CString problems from VC++ 6.0 to Visual Studio 2005 Pin
GDavy10-Apr-07 23:21
GDavy10-Apr-07 23:21 
AnswerRe: CString problems from VC++ 6.0 to Visual Studio 2005 Pin
prasad_som10-Apr-07 23:26
prasad_som10-Apr-07 23:26 
AnswerRe: CString problems from VC++ 6.0 to Visual Studio 2005 Pin
cp987610-Apr-07 22:47
cp987610-Apr-07 22:47 
GeneralRe: CString problems from VC++ 6.0 to Visual Studio 2005 Pin
GDavy10-Apr-07 22:50
GDavy10-Apr-07 22:50 
Questionregedit Pin
deeps_cute10-Apr-07 21:58
deeps_cute10-Apr-07 21:58 
QuestionRe: regedit Pin
Rajesh R Subramanian10-Apr-07 22:00
professionalRajesh R Subramanian10-Apr-07 22:00 
AnswerRe: regedit Pin
deeps_cute10-Apr-07 22:02
deeps_cute10-Apr-07 22:02 

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.