Click here to Skip to main content
15,917,968 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
Questionredefinition Enum member on IDL file Pin
iman_kh10-Jul-08 7:32
iman_kh10-Jul-08 7:32 
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 
Hi Steve,

Thanks so much for your reply!

I tried running the code you posted, and it seems to work well too, but still my plugin dll is blocked by Vista's DEP.

OR

I am not clear with how and when exactly to execute this code of yours!!

Actually I build my add-in DLL and then run a "Lanucher.exe" which registers the dll in windows registry!

I made a "NXSet.exe" which invokes your "worker()" and I called NXSet.exe from my ATL add-in project's Post-Build Step as below:

NXSet.exe "$(TargetPath)"

and then my addin DLL gets registered in Windows Registry by custom build step!

I also done both the things in custom build step...together...and when I checked it actually was successful in setting the IMAGE_DLLCHARACTERISTICS_NX_COMPAT bit in the DLL.

but still DEP block my addin DLL.

Is there anything else I need to do, so that Vista DEP does not block my DLL?

I am giving the absolute add-in DLL path in the command line argument for executing your "worker()" thru my sample exe.

I am doing something wrong or misplaced??

Please tell, as when i run your code, it runs well without any error.

Thanks Steve!

dolly,
N,IN

modified on Monday, July 21, 2008 12:03 AM

AnswerObviously this will not work! Pin
Elmue2-Jul-20 7:34
Elmue2-Jul-20 7:34 
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 

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.