Click here to Skip to main content
15,900,378 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: please help me Pin
David Crow19-May-08 4:37
David Crow19-May-08 4:37 
Question"THE BEST " book for mastering c & c++ Pin
micro_prgmr18-May-08 9:51
micro_prgmr18-May-08 9:51 
AnswerRe: "THE BEST " book for mastering c & c++ Pin
Hamid_RT18-May-08 18:20
Hamid_RT18-May-08 18:20 
QuestionDefinations for Previous message Compiler not generation code Pin
ForNow18-May-08 9:24
ForNow18-May-08 9:24 
QuestionRe: Definations for Previous message Compiler not generation code Pin
Rajkumar R18-May-08 21:22
Rajkumar R18-May-08 21:22 
AnswerRe: Definations for Previous message Compiler not generation code Pin
ForNow18-May-08 22:48
ForNow18-May-08 22:48 
QuestionCompiler not generating code Pin
ForNow18-May-08 9:20
ForNow18-May-08 9:20 
AnswerRe: Compiler not generating code [modified] Pin
Rajkumar R18-May-08 21:30
Rajkumar R18-May-08 21:30 
ForNow wrote:
is not generating any code for the following


just curious how do you verified. For Release mode I Assume.


ForNow wrote:
(DWORD)my_ptr1 = *my_ptr; // point to first slot <-- No code

Unreference variable my_ptr1, no use generating code. And just curious how do you able to compiled that statement.


ForNow wrote:
c.ContextFlags = (CONTEXT_FULL | CONTEXT_CONTROL); <-- no code

constant data, try assigning variable data.


ForNow wrote:
my_ptr = c.SegFs; // Fs pointst to TEB <-- No code
my_ptr = my_ptr + 0x2c; // point to ThreadArray sotrage
(DWORD)my_ptr1 = *my_ptr; // point to first slot <-- No code

compiler optimises to use (address of c + SegFs member offset + 0x2c). I think it is safe to use this without asm.

modified on Monday, May 19, 2008 3:50 AM

GeneralRe: Compiler not generating code Pin
ForNow18-May-08 22:37
ForNow18-May-08 22:37 
AnswerRe: Compiler not generating code Pin
Rajkumar R18-May-08 22:48
Rajkumar R18-May-08 22:48 
GeneralRe: Compiler not generating code Pin
ForNow19-May-08 0:40
ForNow19-May-08 0:40 
QuestionInitial Window Size for Program Pin
Kwanalouie18-May-08 7:29
Kwanalouie18-May-08 7:29 
AnswerRe: Initial Window Size for Program Pin
Nelek18-May-08 12:41
protectorNelek18-May-08 12:41 
GeneralRe: Initial Window Size for Program Pin
Paresh Chitte18-May-08 19:32
Paresh Chitte18-May-08 19:32 
GeneralRe: Initial Window Size for Program [modified] Pin
Nelek18-May-08 21:30
protectorNelek18-May-08 21:30 
GeneralRe: Initial Window Size for Program Pin
Nelek18-May-08 21:39
protectorNelek18-May-08 21:39 
AnswerRe: Initial Window Size for Program Pin
Hamid_RT18-May-08 18:22
Hamid_RT18-May-08 18:22 
AnswerRe: Initial Window Size for Program Pin
Paresh Chitte18-May-08 19:13
Paresh Chitte18-May-08 19:13 
QuestionHow do you Find out(copy filenames) that is in a directory WITHOUT using the CFileDialog in MFC VS2008 C++ Pin
Larry Mills Sr18-May-08 5:46
Larry Mills Sr18-May-08 5:46 
AnswerRe: How do you Find out(copy filenames) that is in a directory WITHOUT using the CFileDialog in MFC VS2008 C++ Pin
Nelek18-May-08 7:24
protectorNelek18-May-08 7:24 
GeneralRe: How do you Find out(copy filenames) that is in a directory WITHOUT using the CFileDialog in MFC VS2008 C++ Pin
Larry Mills Sr18-May-08 9:34
Larry Mills Sr18-May-08 9:34 
GeneralRe: How do you Find out(copy filenames) that is in a directory WITHOUT using the CFileDialog in MFC VS2008 C++ Pin
Michael Schubert18-May-08 12:20
Michael Schubert18-May-08 12:20 
GeneralRe: How do you Find out(copy filenames) that is in a directory WITHOUT using the CFileDialog in MFC VS2008 C++ Pin
Nelek18-May-08 12:39
protectorNelek18-May-08 12:39 
QuestionRe: How do you Find out(copy filenames) that is in a directory WITHOUT using the CFileDialog in MFC VS2008 C++ Pin
David Crow19-May-08 4:41
David Crow19-May-08 4:41 
AnswerRe: How do you Find out(copy filenames) that is in a directory WITHOUT using the CFileDialog in MFC VS2008 C++ Pin
Larry Mills Sr19-May-08 16:43
Larry Mills Sr19-May-08 16:43 

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.