Simon Mourier's Avatar
Simon Mourier's blog (1346 answers on StackOverflow) about Microsoft technologies C#, C/C++, .NET, WinRT, WinUI, COM, Interop, DirectX, Direct2D, Windows, ...
  • 🔎︎ Search
  • Categories
  • Archives
  • About Me
  • .net
  • c#
  • directx

How can I get the filename of a "module could not be found" error dialog

Dec 3, 2012 See the question and my original answer on StackOverflow

I don't think you can do this programmatically. However, if you have access to the machine you can turn on a "global flag" to show what's called "Loader Snaps" (Show loader snaps (Windows Debuggers)) at least to identify the problem.

Here is an article about it that explains how to do it: Debugging LoadLibrary Failures

  • SmoBlog © 2010-2025 Simon Mourier. All rights reserved.
  • Privacy & Terms