I did not write my answer for "dolly". This question has the highest ranking on Google. It appears in the first place! Anybody searching for IMAGE_DLLCHARACTERISTICS_NX_COMPAT on Google will come here.
Elmue
Posts
-
How to set IMAGE_DLLCHARACTERISTICS_NX_COMPAT bit to make DLL DEP compatible with VC 6.0 compiler -
How to set IMAGE_DLLCHARACTERISTICS_NX_COMPAT bit to make DLL DEP compatible with VC 6.0 compilerThe 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
-
Checkbox "Reply to posts" is disabledI have 19 articles on Codeproject. I can configure the "Email Alerts" in all articles except 4 of them: https://www.codeproject.com/Articles/15397/Cabinet-File-CAB-Compression-and-Extraction https://www.codeproject.com/Articles/6136/Type-safe-Callbacks-in-C https://www.codeproject.com/Articles/6780/Type-safe-Signals-and-Slots-in-C-Part-2 https://www.codeproject.com/Articles/12200/DHTML-Editor-with-Table-Support-and-Source-Editor Only in these 4 articles the second checkbox "Replies to posts" is disabled. I looked into the HTML source code and I find:
Replies to Posts
As you see the server already sends it as
disabled="disabled"
Would you please fix this? I cannot see any sense why this checkbox should ever be disabled. -
CryptEncrypt and CryptDecrypt functions of CryptoApi problemsAnd why don't you use the button "Code Block" when posting code ? Your posting is completely unreadable.
-
VC++ (6.0, .NET) USB device IO -
Transparent icons on a toolbar buttonsHello This will not work. The toolbar internally works with old primitive bitmaps. (it comes from the Windows 3.1 times) SetBkMode(TRANSPARENT) is useless for painting bitmaps. It is mainly for printing text. What you have to do is assign an Imagelist to the toolbar. The imagelist can maintain a primitive transparency using a mask. With i_ImageList.SetBkColor(..) you can define with which color the "transparent" pixels are filled. With i_ImageList.Add(AfxGetApp()->LoadIcon(IDI_ICON1) you can load transparent icons. With i_Toolbar->GetToolBarCtrl().SetImageList(&i_ImageList) you assign the image list And as LAST you can load the toolbar tooltips and Command IDs trom the resources i_Toolbar.LoadToolBar(IDR_TOOLBAR1); The images stored in the resources will be overridden with your imagelist. Please note: This is NOT real transparency with an Alpha channel! You can NOT draw XP icons or alpha channel bitmaps with various levels of transparency! And you can NOT draw on a multicolored backgound. Elmü