Click here to Skip to main content
15,911,785 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionPRJ0019 error when performing a registration Pin
chatko17-Jul-08 3:57
chatko17-Jul-08 3:57 
QuestionHelp me Pin
Amit Battan Ror17-Jul-08 3:47
Amit Battan Ror17-Jul-08 3:47 
QuestionInitialization for OE/ Windows Mail Addin Pin
dolly16-Jul-08 0:14
dolly16-Jul-08 0:14 
Questiontab dialog question Pin
monsieur_jj14-Jul-08 21:48
monsieur_jj14-Jul-08 21:48 
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 
Stuart Dootson wrote:
Before you think about that - are you using CWindow objects? ATL 3.0 (&7.1, IIRC) relied on constructing code thunks in data memory to perform dispatching of window messages to C++ objects. This is precisely the sort of code that DEP is intended to protect against.

If you believe your DLL is OK - what's to stop you using the editbin.exe from VS2005? To make it easier, copy it into your solution's root directory and use it from there.



------------------------------------------------------------------

Hi and thanks for replying!

I am using a simple ATL 3.0 c++ DLL project, and compiling it through Visual C++ 6.0
editbin.exe is not working even if i explicitely copy it in my root folder along with the required DLLs and exes it needs to execute.

It says unrecognized option /NXCOMPAT and is ignored!

I read some where that VS 2005 onwards every compiled page has IMAGE_DLLCHARACTERISTICS_NX_COMPAT bit set, which makes it DEP compatible, but we dont have such bit setting option in earlier VS versions. That is the main issue with me!

But I am sure there is some way of running the old built DLLs so that DEP will not stop them.

I am using ATL for the first time, so trying hard to find a way out!

Please help if u can!

Thanks a lot!

dolly,
N,IN

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 
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 

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.