Click here to Skip to main content
15,890,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionShell Context Menu Pin
kiranin27-Oct-06 20:37
kiranin27-Oct-06 20:37 
Questionhow to copy subdirectory recursively in windows SDK Pin
madhav mane27-Oct-06 20:31
madhav mane27-Oct-06 20:31 
AnswerRe: how to copy subdirectory recursively in windows SDK Pin
Hamid_RT27-Oct-06 21:26
Hamid_RT27-Oct-06 21:26 
GeneralRe: how to copy subdirectory recursively in windows SDK Pin
Prakash Nadar27-Oct-06 22:05
Prakash Nadar27-Oct-06 22:05 
Questionhow to create vertical toolbar using windows SDK programming. Pin
madhav mane27-Oct-06 20:26
madhav mane27-Oct-06 20:26 
AnswerRe: how to create vertical toolbar using windows SDK programming. Pin
Hamid_RT27-Oct-06 21:28
Hamid_RT27-Oct-06 21:28 
AnswerRe: how to create vertical toolbar using windows SDK programming. Pin
Mark Salsbery29-Oct-06 7:09
Mark Salsbery29-Oct-06 7:09 
QuestionIs LPTSTR a char pointer? Pin
Lord Kixdemp27-Oct-06 17:41
Lord Kixdemp27-Oct-06 17:41 
Hello everyone!
I'm debugging a program, and, I'm viewing my own binary file in a hex editor for the first time, and that somehow makes me happy... (#define __NO_LIFE_GEEK__) Laugh | :laugh:
Now... Until byte 8 it's alright, but after that it's supposed to write a LPTSTR containing the following text:

You need a SSE2-enabled processor in order to run this program.

However, the 9th char is 03h, which doesn't look like a Y (59h)... I'm writing it like this:

// Get text in CEdit
m_em_errorMsg->GetWindowText(_tempString, m_em_errorMsg->GetWindowTextLength());

// Write it
out.Write(_tempString, m_em_errorMsg->GetWindowTextLength());

(_tempString being the LPTSTR)

So I was wondering if I should write it some other way... Am I wrong? Thanks! Laugh | :laugh:

Windows Calculator told me I will die at 28. Frown | :(

AnswerRe: Is LPTSTR a char pointer? Pin
Waldermort27-Oct-06 17:59
Waldermort27-Oct-06 17:59 
GeneralRe: Is LPTSTR a char pointer? Pin
Lord Kixdemp27-Oct-06 20:03
Lord Kixdemp27-Oct-06 20:03 
GeneralRe: Is LPTSTR a char pointer? Pin
Prakash Nadar27-Oct-06 22:16
Prakash Nadar27-Oct-06 22:16 
GeneralRe: Is LPTSTR a char pointer? Pin
Lord Kixdemp28-Oct-06 12:18
Lord Kixdemp28-Oct-06 12:18 
QuestionCTreeCtrl CheckBox Pin
JBAK_CP27-Oct-06 15:19
JBAK_CP27-Oct-06 15:19 
AnswerRe: CTreeCtrl CheckBox Pin
Gary R. Wheeler29-Oct-06 1:54
Gary R. Wheeler29-Oct-06 1:54 
QuestionReturn from function Pin
Oliver12327-Oct-06 11:04
Oliver12327-Oct-06 11:04 
AnswerRe: Return from function Pin
led mike27-Oct-06 11:09
led mike27-Oct-06 11:09 
QuestionDWORD to LPCVOID Pin
Cyclone0227-Oct-06 9:27
Cyclone0227-Oct-06 9:27 
AnswerRe: DWORD to LPCVOID Pin
David Crow27-Oct-06 10:16
David Crow27-Oct-06 10:16 
QuestionRe: DWORD to LPCVOID [modified] Pin
Cyclone0228-Oct-06 7:07
Cyclone0228-Oct-06 7:07 
AnswerRe: DWORD to LPCVOID Pin
Mark Salsbery29-Oct-06 7:17
Mark Salsbery29-Oct-06 7:17 
GeneralRe: DWORD to LPCVOID Pin
Cyclone0229-Oct-06 8:59
Cyclone0229-Oct-06 8:59 
GeneralRe: DWORD to LPCVOID Pin
Mark Salsbery29-Oct-06 9:25
Mark Salsbery29-Oct-06 9:25 
GeneralRe: DWORD to LPCVOID Pin
Cyclone0230-Oct-06 5:57
Cyclone0230-Oct-06 5:57 
QuestionCan I use bits instead of bytes? Pin
Lord Kixdemp27-Oct-06 9:08
Lord Kixdemp27-Oct-06 9:08 
AnswerRe: Can I use bits instead of bytes? Pin
led mike27-Oct-06 9:16
led mike27-Oct-06 9:16 

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.