Click here to Skip to main content
15,903,175 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCollapsable 3D Studio-esque menu system Pin
Graham Reeds19-Sep-06 23:37
Graham Reeds19-Sep-06 23:37 
AnswerRe: Collapsable 3D Studio-esque menu system Pin
Graham Reeds20-Sep-06 4:58
Graham Reeds20-Sep-06 4:58 
AnswerRe: Collapsable 3D Studio-esque menu system Pin
Hamid_RT20-Sep-06 7:38
Hamid_RT20-Sep-06 7:38 
AnswerRe: Collapsable 3D Studio-esque menu system Pin
Graham Reeds20-Sep-06 22:26
Graham Reeds20-Sep-06 22:26 
QuestionMicrosoft Detours 1.5 Complete API Documentations needed. Pin
Ricky Gai19-Sep-06 23:20
Ricky Gai19-Sep-06 23:20 
AnswerRe: Microsoft Detours 1.5 Complete API Documentations needed. Pin
SSDream7-Sep-09 4:35
SSDream7-Sep-09 4:35 
QuestionShared object between 2 DLLs Pin
AbhishekBK19-Sep-06 23:18
AbhishekBK19-Sep-06 23:18 
QuestionMicrosoft Detours 1.5 API documentations required. Pin
Ricky Gai19-Sep-06 23:17
Ricky Gai19-Sep-06 23:17 
Is there any good Detours 1.5 API references or documentations out there ?

I ahave read throught Detours.pdf and sources like verify.cpp and still
lack of informations to understand sample sources given.

eg: from VERIFY.CPP

static VOID Dump (PBYTE pbBytes, LONG nBytes, PBYTE pbTarget)
{
for( LONG n=0; n<nbytes; n+="16" )=""
="" {
="" printf("="" %08x="" (="" %i="" bytes="" ):="" ",="" pbbytes="" +="" n,="" nbytes);

="" for(="" long="" m="n;" m<n+16;="" m++="" )
="" if(="">= nBytes )
{
printf(".");
......
}

VOID WINAPI Verify (PBYTE pbCode)
{
Decode("Original", pbCode, NULL, 3);

Decode("DetourGetFinalCode with Skip JMP", DetourGetFinalCode(pbCode, TRUE), pbCode, 3);

Decode("DetourGetFinalCode no Skip JMP", DetourGetFinalCode(pbCode, FALSE), pbCode, 3);
}


Q1: What is cfSkipJmp in DetourGetFinalCode() ?
Q2: What is the return of PBYTE in DetourGetFinalCode() refers to ?
Q3: What is n+=16 means for ?

I think the answers will be quite low level, but I really need extra informations
in order to understand what the source trying to give.

I have read through Detours.pdf but still I found insufficient to understand as
the questions stated above.

Any advise is appreciated.

Thank you.

Best Regards,
Ricky Gai.
QuestionKeyBoard hook Doubt Pin
_anil_19-Sep-06 23:06
_anil_19-Sep-06 23:06 
AnswerRe: KeyBoard hook Doubt Pin
Naveen19-Sep-06 23:31
Naveen19-Sep-06 23:31 
GeneralRe: KeyBoard hook Doubt Pin
_anil_19-Sep-06 23:40
_anil_19-Sep-06 23:40 
GeneralRe: KeyBoard hook Doubt Pin
Naveen19-Sep-06 23:55
Naveen19-Sep-06 23:55 
GeneralRe: KeyBoard hook Doubt Pin
_anil_20-Sep-06 0:02
_anil_20-Sep-06 0:02 
GeneralRe: KeyBoard hook Doubt Pin
Naveen20-Sep-06 2:11
Naveen20-Sep-06 2:11 
Questionedit control how to get deleted text Pin
harsha_123419-Sep-06 22:37
harsha_123419-Sep-06 22:37 
AnswerRe: edit control how to get deleted text Pin
Rinu_Raj19-Sep-06 22:46
Rinu_Raj19-Sep-06 22:46 
GeneralRe: edit control how to get deleted text Pin
harsha_123419-Sep-06 22:55
harsha_123419-Sep-06 22:55 
GeneralRe: edit control how to get deleted text Pin
Rinu_Raj19-Sep-06 23:08
Rinu_Raj19-Sep-06 23:08 
AnswerRe: edit control how to get deleted text Pin
toxcct19-Sep-06 22:48
toxcct19-Sep-06 22:48 
QuestionHow to display CStatic Pin
gomez_a19-Sep-06 22:33
gomez_a19-Sep-06 22:33 
AnswerRe: How to display CStatic Pin
Rinu_Raj19-Sep-06 22:39
Rinu_Raj19-Sep-06 22:39 
GeneralRe: How to display CStatic Pin
gomez_a19-Sep-06 23:58
gomez_a19-Sep-06 23:58 
AnswerRe: How to display CStatic Pin
Rinu_Raj20-Sep-06 0:03
Rinu_Raj20-Sep-06 0:03 
GeneralRe: How to display CStatic Pin
gomez_a20-Sep-06 1:19
gomez_a20-Sep-06 1:19 
GeneralRe: How to display CStatic Pin
Rinu_Raj20-Sep-06 1:49
Rinu_Raj20-Sep-06 1:49 

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.