GUI application failing with "Failed to load DLL file, reason code 126"
Document ID :
Last Modified Date :
Show Technical Document Details
CA Gen Run Time, Distributed:CGRTD
Generated a GUI application and deployed it to a user workstation. When the user executes the application, the following message is returned. "Failed to load DLL file, reason code 126".
Reason code 126 "Failed to load DLL <module>" means a dependent dll cannot be found. To troubleshoot, it is best to use Dependency Walker to determine the missing dll.
Dependency Walker showed that the following DLLs are missing.
An internet search revealed these DLLs are part of the the Visual Studio 2012 redistributable.
Installing the VS2012 redistributable resolved the problem.
Was this information helpful?