Click here to Skip to main content
15,887,135 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: [OT] Re: LPTSTR problem Pin
Joe Woodbury27-Mar-09 6:49
professionalJoe Woodbury27-Mar-09 6:49 
GeneralRe: [OT] Re: LPTSTR problem Pin
Eytukan27-Mar-09 6:49
Eytukan27-Mar-09 6:49 
GeneralRe: LPTSTR problem Pin
CPallini27-Mar-09 7:09
mveCPallini27-Mar-09 7:09 
GeneralRe: LPTSTR problem Pin
Joe Woodbury27-Mar-09 7:12
professionalJoe Woodbury27-Mar-09 7:12 
GeneralRe: LPTSTR problem Pin
CPallini27-Mar-09 7:25
mveCPallini27-Mar-09 7:25 
GeneralRe: LPTSTR problem Pin
Stuart Dootson27-Mar-09 1:48
professionalStuart Dootson27-Mar-09 1:48 
GeneralRe: LPTSTR problem Pin
Joe Woodbury27-Mar-09 5:51
professionalJoe Woodbury27-Mar-09 5:51 
GeneralRe: LPTSTR problem Pin
Stuart Dootson27-Mar-09 6:09
professionalStuart Dootson27-Mar-09 6:09 
You're quite right - I did mean to point that out (honest!).

Joe Woodbury wrote:
(Of course to be even more pedantic, why he's allocating local buffers 25 characters long instead of just using a simple array such as wchar_t message[25]; is senseless. Unless he's controlling the lengths of the strings elsewhere, he should also be using the wcscpy_s and wcscat_s.)


I'm always tempted to say "why don't you just use a string class?!?!". CString or std::string, they both make simple string manipulation a hell of a lot easier.

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: LPTSTR problem Pin
Joe Woodbury27-Mar-09 6:22
professionalJoe Woodbury27-Mar-09 6:22 
AnswerRe: LPTSTR problem Pin
CPallini27-Mar-09 0:49
mveCPallini27-Mar-09 0:49 
AnswerRe: LPTSTR problem Pin
Cedric Moonen27-Mar-09 0:51
Cedric Moonen27-Mar-09 0:51 
GeneralRe: LPTSTR problem Pin
zakkas248327-Mar-09 1:03
zakkas248327-Mar-09 1:03 
GeneralRe: LPTSTR problem Pin
CPallini27-Mar-09 1:10
mveCPallini27-Mar-09 1:10 
GeneralRe: LPTSTR problem Pin
zakkas248327-Mar-09 1:14
zakkas248327-Mar-09 1:14 
GeneralRe: LPTSTR problem Pin
Eytukan27-Mar-09 1:26
Eytukan27-Mar-09 1:26 
GeneralRe: LPTSTR problem Pin
zakkas248327-Mar-09 1:53
zakkas248327-Mar-09 1:53 
QuestionRe: LPTSTR problem [modified] Pin
CPallini27-Mar-09 1:44
mveCPallini27-Mar-09 1:44 
AnswerRe: LPTSTR problem Pin
Joe Woodbury27-Mar-09 5:30
professionalJoe Woodbury27-Mar-09 5:30 
GeneralRe: LPTSTR problem Pin
CPallini27-Mar-09 7:06
mveCPallini27-Mar-09 7:06 
GeneralRe: LPTSTR problem Pin
Joe Woodbury27-Mar-09 7:10
professionalJoe Woodbury27-Mar-09 7:10 
GeneralRe: LPTSTR problem Pin
CPallini27-Mar-09 7:17
mveCPallini27-Mar-09 7:17 
QuestionHelp with Binary Pin
FISH78627-Mar-09 0:11
FISH78627-Mar-09 0:11 
AnswerRe: Help with Binary Pin
Michael Schubert27-Mar-09 0:20
Michael Schubert27-Mar-09 0:20 
GeneralRe: Help with Binary Pin
FISH78627-Mar-09 0:36
FISH78627-Mar-09 0:36 
GeneralRe: Help with Binary Pin
Michael Schubert27-Mar-09 0:40
Michael Schubert27-Mar-09 0:40 

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.