Click here to Skip to main content
16,005,552 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questioncannot convert from char * to unsigned short * Pin
QuickDeveloper5-Apr-06 6:24
QuickDeveloper5-Apr-06 6:24 
AnswerRe: cannot convert from char * to unsigned short * Pin
valikac5-Apr-06 6:30
valikac5-Apr-06 6:30 
AnswerRe: cannot convert from char * to unsigned short * Pin
toxcct5-Apr-06 6:31
toxcct5-Apr-06 6:31 
GeneralRe: cannot convert from char * to unsigned short * Pin
QuickDeveloper5-Apr-06 6:34
QuickDeveloper5-Apr-06 6:34 
GeneralRe: cannot convert from char * to unsigned short * Pin
toxcct5-Apr-06 6:39
toxcct5-Apr-06 6:39 
GeneralRe: cannot convert from char * to unsigned short * Pin
QuickDeveloper5-Apr-06 6:42
QuickDeveloper5-Apr-06 6:42 
AnswerRe: cannot convert from char * to unsigned short * Pin
FarPointer5-Apr-06 6:32
FarPointer5-Apr-06 6:32 
AnswerRe: cannot convert from char * to unsigned short * Pin
Graham Bradshaw5-Apr-06 6:35
Graham Bradshaw5-Apr-06 6:35 
T2A converts to ANSI. In a Unicode build, LPTSTR will be a wide character, so setting a variable of type LPTSTR to the result of the T2A macro makes no sense. If you want pszRCPT to be ANSI (as implied by the code), declare it as LPSTR (note the missing 'T')


LPSTR - ANSI character string
LPWSTR - wide character string
LPTSTR - ANSI or wide character string depending on if _UNICODE is defined or not
GeneralRe: cannot convert from char * to unsigned short * Pin
QuickDeveloper5-Apr-06 6:47
QuickDeveloper5-Apr-06 6:47 
AnswerRe: cannot convert from char * to unsigned short * Pin
Michael Dunn5-Apr-06 6:36
sitebuilderMichael Dunn5-Apr-06 6:36 
AnswerRe: cannot convert from char * to unsigned short * Pin
HalfWayMan5-Apr-06 6:45
HalfWayMan5-Apr-06 6:45 
QuestionMenu in MDI child window Pin
HalfWayMan5-Apr-06 6:16
HalfWayMan5-Apr-06 6:16 
QuestionChanging security of File Pin
FarPointer5-Apr-06 6:04
FarPointer5-Apr-06 6:04 
AnswerRe: Changing security of File Pin
David Crow5-Apr-06 7:00
David Crow5-Apr-06 7:00 
AnswerRe: Changing security of File Pin
Hamid_RT5-Apr-06 19:35
Hamid_RT5-Apr-06 19:35 
AnswerRe: Changing security of File Pin
J51219825-Apr-06 19:45
J51219825-Apr-06 19:45 
QuestionDetecting a "Missing Character Glyph" without looking at a window Pin
jayart5-Apr-06 5:59
jayart5-Apr-06 5:59 
Questionhow to change bitmap at mouse events Pin
baldha rakesh5-Apr-06 5:08
baldha rakesh5-Apr-06 5:08 
AnswerRe: how to change bitmap at mouse events Pin
Hamid_RT5-Apr-06 5:36
Hamid_RT5-Apr-06 5:36 
QuestionWaitCommEvent Pin
LCI5-Apr-06 4:58
LCI5-Apr-06 4:58 
QuestionWhat Happened to CString ?!? Pin
Jethro635-Apr-06 4:56
Jethro635-Apr-06 4:56 
AnswerRe: What Happened to CString ?!? Pin
toxcct5-Apr-06 5:00
toxcct5-Apr-06 5:00 
GeneralRe: What Happened to CString ?!? Pin
Jethro635-Apr-06 5:12
Jethro635-Apr-06 5:12 
GeneralRe: What Happened to CString ?!? Pin
toxcct5-Apr-06 5:14
toxcct5-Apr-06 5:14 
GeneralRe: What Happened to CString ?!? Pin
Jethro635-Apr-06 5:26
Jethro635-Apr-06 5:26 

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.