Page MenuHomeFeedback Tracker

ArmA 3 Tools [Found Solution]
Closed, ResolvedPublic

Description

When launching ArmA 3 Tools, the publisher will not load, I get a Publisher.App.HandleUnhandledException - System.BadImageFormatException: Could not load file or assembly 'SteamLayerWrap.dll' or one of its dependencies. is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
File name: 'SteamLayerWrap.dll'
when I try to open the Addon builder I get a Unhandled Exception: System.BadImageFormatException: Could not load file or assembly 'SteamHelper.dll' or one of its dependencies. is not a valid Win32 application. (Exception from HRESULT: 0x800700C1) error. Some of the other tools will load, others won't. I have tried uninstalling/reinstalling, messed with the regedit, deleted the userconfig for the tools and deleted the SteamLayerWrap.dll, then verify files. Nothing seems to work. Please help.

Details

Severity
Major
Resolution
Fixed
Reproducibility
Always
Operating System
Windows 10 x64
Operating System Version
Windows 10 Home 21H2
Category
Tools

Event Timeline

mrsocomdude updated the task description. (Show Details)Jul 21 2022, 3:22 AM
mrsocomdude updated the task description. (Show Details)
This comment was removed by mrsocomdude.
mrsocomdude added a comment.EditedJul 21 2022, 6:34 PM

Verifying ArmA in Steam, reinstalling DirectX/Visual C++ and running the File Check Tool did nothing. However, I ran the 64 and 32 bit version of Microsoft Dependency Walker and got a ton of errors for several hundred DLLs for the ArmA EXEs. Same results for ArmA 3 Tools and the Publisher EXEs.

Leopard20 added a subscriber: Leopard20.EditedJul 21 2022, 7:30 PM

https://docs.microsoft.com/en-us/previous-versions/troubleshoot/winautomation/support-tips/excel-automation/excel-launch-error-800700c1-is-not-valid-win32-application

The solution is presented on the following StackOverflow question:
https://stackoverflow.com/questions/50970449/error-800700c1-in-instantiating-an-object-for-microsoft-office-interop-excel-a
Deleting the file "C:\Program" fixes the issue.

That's a similar issue for Excel. Not sure if it even applies to your case.

Also Microsoft's Dependency Walker exes are too old and they no longer work on Win 10 afaik.

mrsocomdude added a comment.EditedJul 22 2022, 2:42 AM

Did all the steps from https://community.bistudio.com/wiki/Arma_3:_Unusual_process_exit#0xC0000135_-_STATUS_DLL_NOT_FOUND. I even tried going to back to a restore point on windows from 3 days ago. Nothing.

mrsocomdude added a comment.EditedJul 22 2022, 4:38 AM

Found a solution: After digging online installing Microsoft Visual C++ 2008, 2015-2022 seemed to be the fix. I’m unsure which one was the actual fix but I installed them all.

mrsocomdude renamed this task from ArmA 3 Tools to ArmA 3 Tools [Found Solution].Jul 22 2022, 4:38 AM
Tenshi closed this task as Resolved.Jul 22 2022, 10:53 AM
Tenshi changed Resolution from Open to Fixed.