Click here to Skip to main content
15,910,980 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionHow to set IMAGE_DLLCHARACTERISTICS_NX_COMPAT bit to make DLL DEP compatible with VC 6.0 compiler Pin
dolly8-Jul-08 1:40
dolly8-Jul-08 1:40 
AnswerRe: How to set IMAGE_DLLCHARACTERISTICS_NX_COMPAT bit to make DLL DEP compatible with VC 6.0 compiler Pin
Stuart Dootson8-Jul-08 6:58
professionalStuart Dootson8-Jul-08 6:58 
QuestionRe: How to set IMAGE_DLLCHARACTERISTICS_NX_COMPAT bit to make DLL DEP compatible with VC 6.0 compiler Pin
dolly8-Jul-08 18:06
dolly8-Jul-08 18:06 
AnswerRe: How to set IMAGE_DLLCHARACTERISTICS_NX_COMPAT bit to make DLL DEP compatible with VC 6.0 compiler [modified] Pin
Stephen Hewitt10-Jul-08 19:25
Stephen Hewitt10-Jul-08 19:25 
GeneralRe: How to set IMAGE_DLLCHARACTERISTICS_NX_COMPAT bit to make DLL DEP compatible with VC 6.0 compiler Pin
Stuart Dootson11-Jul-08 5:24
professionalStuart Dootson11-Jul-08 5:24 
GeneralRe: How to set IMAGE_DLLCHARACTERISTICS_NX_COMPAT bit to make DLL DEP compatible with VC 6.0 compiler Pin
Stephen Hewitt13-Jul-08 14:23
Stephen Hewitt13-Jul-08 14:23 
QuestionRe: How to set IMAGE_DLLCHARACTERISTICS_NX_COMPAT bit to make DLL DEP compatible with VC 6.0 compiler [modified] Pin
dolly17-Jul-08 19:47
dolly17-Jul-08 19:47 
AnswerObviously this will not work! Pin
Elmue2-Jul-20 7:34
Elmue2-Jul-20 7:34 
The problem is that you did not read the documentation.
Setting the IMAGE_DLLCHARACTERISTICS_NX_COMPAT does NOT "make your DLL DEP compatible".
This is your invention only.
Already your question is wrong.

This flags tells Windows that your DLL IS already DEP compatible.
If it is not, setting this flag is wrong.

The correct solution is to use SetProcessDEPPolicy() to tell Windows NOT to use DEP on your process.
Or compile with linker option /NXCOMPAT:NO

modified 2-Jul-20 20:28pm.

GeneralRe: Obviously this will not work! Pin
Richard Deeming2-Jul-20 23:20
mveRichard Deeming2-Jul-20 23:20 
AnswerRe: Obviously this will not work! Pin
Elmue3-Jul-20 19:42
Elmue3-Jul-20 19:42 
QuestionNamespace-extension: How to customize "Details" in left-pane Pin
seansu5-Jul-08 1:04
seansu5-Jul-08 1:04 
QuestionC++ ATL COM addin DLL blocked by Vista's DEP Pin
dolly4-Jul-08 1:33
dolly4-Jul-08 1:33 
AnswerRe: C++ ATL COM addin DLL blocked by Vista's DEP Pin
Anna-Jayne Metcalfe7-Sep-08 4:11
Anna-Jayne Metcalfe7-Sep-08 4:11 
QuestionConvert Visual Studio 2005 ATL COM project into Visual C++ 6.0 project Pin
dolly3-Jul-08 1:49
dolly3-Jul-08 1:49 
AnswerRe: Convert Visual Studio 2005 ATL COM project into Visual C++ 6.0 project Pin
hdj83114-Aug-08 21:51
hdj83114-Aug-08 21:51 
QuestionCalendar Control question [modified] Pin
monsieur_jj2-Jul-08 21:59
monsieur_jj2-Jul-08 21:59 
Questionmouse move or click event on Internet Explorer Pin
Dabara1-Jul-08 22:53
Dabara1-Jul-08 22:53 
AnswerRe: mouse move or click event on Internet Explorer Pin
Ju@ncho4-Jul-08 3:23
Ju@ncho4-Jul-08 3:23 
QuestionSDI Form View Application Pin
Robert Payan30-Jun-08 19:33
Robert Payan30-Jun-08 19:33 
QuestionNamespace-extension: How to implement IShellFolder2 Pin
seansu29-Jun-08 8:03
seansu29-Jun-08 8:03 
AnswerRe: Namespace-extension: How to implement IShellFolder2 Pin
KarstenK2-Jul-08 22:15
mveKarstenK2-Jul-08 22:15 
QuestionThe project is not compiling Pin
theCPkid28-Jun-08 2:42
theCPkid28-Jun-08 2:42 
AnswerRe: The project is not compiling Pin
KarstenK2-Jul-08 22:13
mveKarstenK2-Jul-08 22:13 
GeneralRe: The project is not compiling Pin
theCPkid3-Jul-08 1:57
theCPkid3-Jul-08 1:57 
QuestionDefine a enum type variable on the Interface (ATL project) ? [modified] Pin
iman_kh27-Jun-08 10:32
iman_kh27-Jun-08 10:32 

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.