Skip to main content

You can contact me at webdc2000 [ a t ] hotmail.com

9h
answered std::swap returns 0xBAADF00D
Jul
17
awarded Popular Question
Jul
14
comment Compile-time check that a variable is signed/unsigned
@LoS it was almost 5 years ago. I don't remember now. At this point though anyone is using a newer version of C++ so the answer holds.
Jul
14
awarded Yearling
Jul
14
awarded Yearling
Jul
12
awarded Notable Question
Jul
10
comment Module versions in a crash dump
Interesting. In my case that list of modules doesn't even have the module that is reported by !analyze -v. I doubt that that list is credible
Jul
9
comment When hoving the mouse over a variable in a C++ project the Intellisense popup doesn't show if I run VS 2022 as an admin
OK, I found it. I previously added this registry setting: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers -> REG_SZ: "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\devenv.exe" = "DPIUNAWARE" to compensate for the VS resource editor messing up my projects when VS wasn't capable of handling high DPI. So when I removed that registry key, the Intellisense started working. I guess it's either feast or famine. 😢
Jul
9
comment When hoving the mouse over a variable in a C++ project the Intellisense popup doesn't show if I run VS 2022 as an admin
This probably has something to do the mouse hover not working - the UI magnification is off. I think I applied some setting to the way VS starts up because the resource editor in VS was messing up my projects (due to high DPI setting). The VS couldn't handle it. Now I need to figure out what did I do to have VS start up like that.... hmm.
Jul
9
reviewed Approve suggested edit on When hoving the mouse over a variable in a C++ project the Intellisense popup doesn't show if I run VS 2022 as an admin
Jul
9
comment When hoving the mouse over a variable in a C++ project the Intellisense popup doesn't show if I run VS 2022 as an admin
Thanks. I don't think I have a lot of extensions. I just checked. Almost all of them are from MSFT, except one, which is WiX Toolset extension. I also tried to do what you suggested, but the UI in that Options window is totally messed up. I can't click anything in it. This is how it looks: i.imgur.com/3lDy3qh.png
Jul
8
asked When hoving the mouse over a variable in a C++ project the Intellisense popup doesn't show if I run VS 2022 as an admin
Jul
5
comment error MSB8040: Spectre-mitigated libraries are required for this project
I just want to say, MSFT, that this is an uber annoying error!!! Also whoever wrote the VS Installer needs to have their heads examined. It has a million options and good luck figuring out what has to be installed for that error to go away. A much easier solution is to turn off spectre migitations in VS project properties: C++ -> All Options -> Spectre Mitigations -> Disable. Then recompile. This nonsense error message will go away.
Jul
5
comment IDebugSymbols3::GetSymbolTypeIdWide fails the first time with a debugger output message and then succeeds
@ThomasWeller oh interesting. I didn't think about removing SYMOPT_DEFERRED_LOADS. I was able to fix it by calling ReloadWide first with "/w wdf01000.sys" in this case.
Jul
3
asked IDebugSymbols3::GetSymbolTypeIdWide fails the first time with a debugger output message and then succeeds
Jul
3
asked How to set up Control Flow Guard function calls for proper decompilation with Ghidra?
Jul
2
asked What is the "Fallthrough" option in Ghidra for?
Jun
30
awarded Notable Question
Jun
21
comment Title: How to output changed registers and ESP in red color after each `p` command in Windbg using JavaScript?
@Neitsa correct me if I'm wrong, but I don't think even DML allows you to specify arbitrary colors. You have to pick from their predefined color scheme, and AFAIK, there's nothing red in it.
Jun
15
awarded Popular Question
1 2 3 4 5