The Curious Engineer

All blogs / C++

Ofek's Visual C++ stuff

ofekshilon.com

Whatever deserves more web presence

C++Dev tools / editors / IDEsWindows internals

Posts
122 from 21 Feb 2009 to 14 Mar 2020
Posting
quiet since 2020
Kind
personal blog
Feed
https://ofekshilon.com/feed/

2020 1

  1. C++ Const Constructability

2017 4

  1. Checking if your Graphics software runs on GPU
  2. On OMP_WAIT_POLICY
  3. Matlab’s mxArray Internals
  4. Tracking the Current Directory from the debugger: RtlpCurDirRef

2016 5

  1. Checking Memory Corruption from the debugger in 2016
  2. CMake Rants
  3. On Matlab’s loadlibrary, proto file and pcwin64 thunk
  4. On API-MS-WIN-XXXXX.DLL, and Other Dependency Walker Glitches
  5. Data Read Breakpoints – redux

2015 4

  1. Visual Studio Projects that Just Keep Rebuilding, or: How Quantum Mechanics Mess Up Your Build
  2. How to Make a Phone Book Build and Run
  3. An equivalent project (a project with the same global properties and tools version) is already present
  4. Tinkering with VS2015 (CTP 6)

2014 15

  1. Accelerating Debug Runs, Part 2: _ITERATOR_DEBUG_LEVEL
  2. Accelerating Debug Runs, Part 1: _NO_DEBUG_HEAP
  3. Debugging Memory Corruption II
  4. Hidden Tracepoint Keywords
  5. Debugging Handle Leaks
  6. UseDebugLibraries and Wrong Defaults for VC++ Project Properties
  7. Reading Specific Monitor Dimensions
  8. Blogging 101
  9. Vector Deleting Destructor and Weak Linkage
  10. Executing Code Once Per Thread in an OpenMP Loop
  11. On Vector Deleting Destructors and some new/delete internals
  12. Setting a Watch on Wide Registers in VS
  13. x86/x64 Numerical differences – Correction
  14. Linker Weak Symbols
  15. x86/x64 Library Numerical differences

2013 14

  1. Solving rxinput.dll Crashes
  2. Another Look at the VS2012 Auto Vectorizer
  3. Find Where Types are Passed by Value
  4. Discovering Which Projects Depend on a Project – II
  5. Discovering Which Projects Depend on One
  6. VS2012 Migration #3: autoexp and NoStepInto Replacements
  7. VS2012 Migration #2: ‘Unspecified error’ Upon Solution Open
  8. VS2012 Migration #1: “The Project ‘’ has been renamed’ and Other Errors on Build
  9. Entry Point Not Found, and other DLL Loading Problems
  10. Forcing Construction of Global Objects in Static Libraries
  11. Quick Word to Fellow Hebrew Speaking Devs
  12. My Guest Post on the VC Team blog
  13. Geometric Inverse Application 1: Barycentric Coordinates
  14. Geometric Interpretation of a 3D Matrix Inverse

2012 17

  1. Mental Buffer
  2. VS Support Policy
  3. C++ Template Meta Programming is Still Evil
  4. _DllMain@12 already defined
  5. A Day with VS11 Beta – part 2.5: Auto Vectorizer, done right
  6. A Day with VS11 Beta – part 2: Auto Vectorizer
  7. A Day with VS11 Beta – part 1
  8. Windows Internals Course by Sela College
  9. QuickTip: Toggle disassembly with Ctrl+F11
  10. Viewing types, part 3: Exceptions
  11. Viewing types, part 2: the manual way
  12. Viewing types, part 1: The Normal way
  13. On AFX_MODULE_STATE, Appendix
  14. Microsoft’s Known Issues Policy
  15. On AFX_MODULE_STATE, or – Avoiding afxCurrentInstanceHandle Asserts, Part 2
  16. On AFX_MODULE_STATE, or – Avoiding afxCurrentInstanceHandle Asserts, Part 1
  17. RGB vs. BGR in Bitmaps

2011 19

  1. Blank Variable Watch, or OMF Errors
  2. Three F-keys Gotchas
  3. StepOver Revisited
  4. Integrating Matlab with Team Foundation Server 2010
  5. Reading Monitor Physical Dimensions, or: Getting the EDID, the Right Way
  6. Source Control Binding, Part 2: SAK and SOURCE_CONTROL_SETTINGS_PROVIDER
  7. $(TargetDir) Bug, or: Where Did My PDB Go?
  8. Slides from the Windows Developers User Group Meeting
  9. "The solution appears to be under source control", or: How P4 messes up MSSCCPRJ.scc Location
  10. ‘Internal CPS Error’ When Adding A Project Reference
  11. Presenting at Windows Platform Developers Israel User Group
  12. VC++ Version Boundaries
  13. Breaking on Data Read
  14. _VC80_UPGRADE and Warning RC4005 (IDR_MANIFEST Redefinition)
  15. g_dwLastErrorToBreakOn: Watching Errors on VS Revisited
  16. Debugging Reference Count – Part 1
  17. The Case of the ‘X’ That Didn’t Kill the App
  18. AfxIsValidAddress (and Others) Don’t Work as Advertised
  19. Child Breakpoints in Visual Studio

2010 14

  1. ‘Frames below may be incorrect’, or: Stack Walking Requires Symbols
  2. Every Time You Try to Micro-Reuse Code, God Kills a Kitten.
  3. Debugging Memory Leaks, part 3.5: Hacks with Hooks
  4. Debugging Memory Leaks, Part 3: Breaking on Allocations of Given Size
  5. Checking Memory Corruption with _CrtCheckMemory – From the Debugger
  6. /d1reportAllClassLayout – Dumping Object Memory Layout
  7. fflush Fails to Switch From Read to Write on Files fopen’ed with ‘r+’ Access
  8. std::vector of Aligned Elements – Revisited
  9. PGO and OpenMP
  10. Ternary Operator and Type Compatibility
  11. On _purecall and the Overhead(s) of Virtual Functions
  12. Setting Breakpoints on All Class Methods
  13. std::vector of Aligned Elements
  14. Visualizing MFC Containers in autoexp.dat

2009 29

  1. Deleting Folders
  2. Playing With Strings
  3. OptimizedMesh DirectX Sample Having Issues With Large Meshes
  4. Coders at Work
  5. Editing Binary Resources with VS
  6. Duplicate Volume Serial Numbers
  7. Memory Fragmentation Trouble
  8. Debug/Release Numerical Differences
  9. Debugging Memory Leaks, Part 2: CRT support
  10. Viewing Debugee Environment Variables
  11. Breaking on System Functions with the Context Operator
  12. Obtaining Decorated Names
  13. Searching Through Memory in Visual Studio
  14. Debugging DICOM Query/Retrieve Communication
  15. Sound Alerts on VS Events – Revisited
  16. Sound alerts on VS events
  17. Coding Binary as Binary
  18. Naming threads
  19. Debugging Native Memory Leaks, Part 1: LeakDiag
  20. Stepping Over Unwanted Functions
  21. Debugging a Process Launch
  22. Extending Error Codes – to DirectX and Beyond.
  23. Watching Errors in Visual Studio
  24. EnumDisplayMonitors Troubles – NvCpl solutions.
  25. Movies Trouble in PowerPoint
  26. 2D Matrix Watch – Introducing autoexp.dat
  27. Resolving linker warning LNK4221
  28. Watching members in release builds
  29. Hello world!