Click here to Skip to main content
15,890,371 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: vector assignment operations Pin
Stuart Dootson21-May-07 4:07
professionalStuart Dootson21-May-07 4:07 
AnswerRe: vector assignment operations Pin
Nemanja Trifunovic23-May-07 1:57
Nemanja Trifunovic23-May-07 1:57 
AnswerRe: vector assignment operations Pin
John R. Shaw29-May-07 3:56
John R. Shaw29-May-07 3:56 
QuestionHow much a vector can store? Pin
Pankaj.Jain20-May-07 23:02
professionalPankaj.Jain20-May-07 23:02 
AnswerRe: How much a vector can store? Pin
Stuart Dootson21-May-07 0:07
professionalStuart Dootson21-May-07 0:07 
QuestionDEP (Data Execution Prevention) in WinXP SP2 and ATL/WTL thunk. Pin
JaeWook Choi18-May-07 10:26
JaeWook Choi18-May-07 10:26 
AnswerRe: DEP (Data Execution Prevention) in WinXP SP2 and ATL/WTL thunk. Pin
Jörgen Sigvardsson19-May-07 2:06
Jörgen Sigvardsson19-May-07 2:06 
GeneralRe: DEP (Data Execution Prevention) in WinXP SP2 and ATL/WTL thunk. Pin
JaeWook Choi22-May-07 3:40
JaeWook Choi22-May-07 3:40 
No, they are not allocated from memory marked as executable.

If you are talking about ATL8(from VC80), yes the thunk are allocated from memory with executable flag bit set (DEP compatible thunk).

But ATL71 and prior (as I specified in my original question) do not allocate the thunk from memory marked as executable. ATL3 uses thunk from the stack memory(as a member variable) and ATL71 uses it from ::HeapAlloc() thus no excutable bit set.

And my question is why ATL/WTL applications using thunk from ATL71 or prior do not trigger DEP mechanism when hardware DEP is enabled in WinXP SP2 or WinVista?

Am I missing something here?

Regards,
Jae.
GeneralRe: DEP (Data Execution Prevention) in WinXP SP2 and ATL/WTL thunk. Pin
Jörgen Sigvardsson22-May-07 3:50
Jörgen Sigvardsson22-May-07 3:50 
GeneralRe: DEP (Data Execution Prevention) in WinXP SP2 and ATL/WTL thunk. Pin
JaeWook Choi23-May-07 3:47
JaeWook Choi23-May-07 3:47 
GeneralRe: DEP (Data Execution Prevention) in WinXP SP2 and ATL/WTL thunk. Pin
Jörgen Sigvardsson23-May-07 3:56
Jörgen Sigvardsson23-May-07 3:56 
Questionusing mscomm32.ocx in ATL Exe? Pin
viral_umang@hotmail.com18-May-07 0:33
viral_umang@hotmail.com18-May-07 0:33 
QuestionExecuting Javascript in ASPX Pin
darora317-May-07 18:15
darora317-May-07 18:15 
Questionattributed ATL, forward declare interface? Pin
Jared Allen16-May-07 12:29
Jared Allen16-May-07 12:29 
AnswerRe: attributed ATL, forward declare interface? Pin
Michael Dunn18-May-07 14:57
sitebuilderMichael Dunn18-May-07 14:57 
AnswerRe: attributed ATL, forward declare interface? Pin
Jörgen Sigvardsson19-May-07 2:05
Jörgen Sigvardsson19-May-07 2:05 
AnswerRe: attributed ATL, forward declare interface? Pin
Jared Allen19-May-07 8:40
Jared Allen19-May-07 8:40 
Questionhow to convert an interface instance to SAFEARRAY Pin
bioan15-May-07 21:14
professionalbioan15-May-07 21:14 
QuestionHow to pass an array to a COM method that accept a VARIANT * Pin
songll10-May-07 8:28
songll10-May-07 8:28 
AnswerRe: How to pass an array to a COM method that accept a VARIANT * Pin
Stuart Dootson10-May-07 21:04
professionalStuart Dootson10-May-07 21:04 
GeneralRe: How to pass an array to a COM method that accept a VARIANT * Pin
Jörgen Sigvardsson13-May-07 7:43
Jörgen Sigvardsson13-May-07 7:43 
GeneralRe: How to pass an array to a COM method that accept a VARIANT * Pin
Stuart Dootson13-May-07 8:31
professionalStuart Dootson13-May-07 8:31 
GeneralRe: How to pass an array to a COM method that accept a VARIANT * Pin
Jörgen Sigvardsson13-May-07 8:36
Jörgen Sigvardsson13-May-07 8:36 
QuestionFiring Event from worker thread - Q280512 Pin
Satishkumar.B10-May-07 4:19
Satishkumar.B10-May-07 4:19 
AnswerRe: Firing Event from worker thread - Q280512 Pin
Roger Stoltz10-May-07 21:11
Roger Stoltz10-May-07 21:11 

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.