loadlibrary error code 126

Source: https://stackoverflow.com/questions/14361992/dll-load-library-error-code-126

This problem is usually dependent dll indeed caused, directly or dependence, or indirectly dependent.
There are two ways to look for:

  • Use dependency walker
  • Use sysinternals utility inside the Monitor Process ( http://technet.microsoft.com/en-us/sysinternals/bb896645 ), keep track of all file access (trace all file access while your dll is trying to load). This can be loaded when dll see all dll files loaded, can often see where the problem lies.

Guess you like

Origin www.cnblogs.com/ConfuciusPei/p/12393986.html