TC10.50b3 x64 cannot start error: TCMADM64.EXE - Application Error (0xc0000142)

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
praxon
New Member
New Member
Posts: 1
Joined: 2022-04-28, 20:10 UTC

TC10.50b3 x64 cannot start error: TCMADM64.EXE - Application Error (0xc0000142)

Post by *praxon »

Hi.

I have just installed 10.50b3 over 10.00 and now I am seeing the following error when I try to start TC.

Image: https://i.postimg.cc/FFndqJrd/tc001.jpg

I have tried uninstalling completely and reinstalling but without success. Going back to 10.00 gives the same outcome.

What could be wrong?
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3854
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Re: TC10.50b3 x64 cannot start error

Post by *sqa_wizard »

1. May your installer is corrupted somehow: You should download it once more and install it again (no need to uninstall)
2. Do you get any warning about files which can not be overwritten during install? => Reboot and try it again
#5767 Personal license
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC10.50b3 x64 cannot start error

Post by *petermad »

2praxon
Going back to 10.00 gives the same outcome
Just to be sure what yu mean by that - do you mean that TC 10.00 can NOT start either anymore?

Have you tried starting with a new empty wincmd.ini file?
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Stefan2
Power Member
Power Member
Posts: 4133
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: TC10.50b3 x64 cannot start error: TCMADM64.EXE - Application Error (0xc0000142)

Post by *Stefan2 »

Hello and welcome 2praxon

Thanks for the report.

Code: Select all

TCMADM64.EXE - Application Error 
The application was unable to start correctly (0xc0000142). 
Click OK to close the application.


- Which OS do you use in what version?
Press Win- and Pause-key together or type VER in a command line window

- Do you use any Anti-Virus program?

- Google [application not start 142] shows that that is an common error with different applications.

- But TC don't need to be installed (just unpackt) and need no DLL to start.
Maybe the installer / setup.exe is corrupted somehow, from where did you download them?
You can get it save from there >> https://www.ghisler.com/download.htm





 
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC10.50b3 x64 cannot start error: TCMADM64.EXE - Application Error (0xc0000142)

Post by *ghisler(Author) »

This is caused by damaged DLLs in Windows, it's not a bug in TC itself.

If you can still run cmd.exe, try fixing the bug with dism:
1. Search for
cmd.exe
in the start menu.
2. Run it as administrator
3. Enter the following command:
dism /Online /Cleanup-Image /RestoreHealth
Author of Total Commander
https://www.ghisler.com
proxy
Junior Member
Junior Member
Posts: 3
Joined: 2022-06-10, 06:31 UTC

Re: TC10.50b3 x64 cannot start error: TCMADM64.EXE - Application Error (0xc0000142)

Post by *proxy »

I have the same problem. When replacing the TOTALCMD64.EXE version 10.00 with 10.50, I am getting the following message box:

Code: Select all

TCMADM64.EXE - Application Error
The application was unable to start correctly (0xc0000142).
Click OK to close the application.
I have tried to run all TC 10.50 beta versions including the latest release candidate version, and keep getting that error.
When I replace back the old TOTALCMD64.EXE version 10.00, it works.

Tried to fix the issue with dism tool without success.

I always run Total Commander with command line parameters:
"c:\Wincmd\TOTALCMD64.EXE" "/i=c:\Wincmd\wincmd.ini" "/F=c:\Wincmd\wcx_ftp.ini"
The OS is Windows 10 Pro version 21H2, Bulgarian language

I tried also to run it without setting the ini files in order to check if some of the plugins cause incompatibility, but the behavior is the same.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC10.50b3 x64 cannot start error: TCMADM64.EXE - Application Error (0xc0000142)

Post by *ghisler(Author) »

Unfortunately the thread starter praxon didn't explain what he meant with this:
Going back to 10.00 gives the same outcome.
I understood it that TC 10 wouldn't start either.
If he meant that TC 10 starts but TC 10.50 doesn't then it would be the same problem as yours.

If this is really the case, then it may be because I'm using a slightly newer version of the free pascal (fpc) compiler which should handle exceptions in DLLs better than the old compiler. So it may be catching an exception in a DLL which was just ignored by TC10.

To test this theory, please contact me by e-mail so I can send you a test version compiled with the older fpc compiler.
Author of Total Commander
https://www.ghisler.com
proxy
Junior Member
Junior Member
Posts: 3
Joined: 2022-06-10, 06:31 UTC

Re: TC10.50b3 x64 cannot start error: TCMADM64.EXE - Application Error (0xc0000142)

Post by *proxy »

Thanks for the prompt reply.
I sent an email to support@ghisler.com
proxy
Junior Member
Junior Member
Posts: 3
Joined: 2022-06-10, 06:31 UTC

Re: TC10.50b3 x64 cannot start error: TCMADM64.EXE - Application Error (0xc0000142)

Post by *proxy »

The new exe that I received through email works fine. Thanks for the quick support.
I am available to make any further tests if necessary.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC10.50b3 x64 cannot start error: TCMADM64.EXE - Application Error (0xc0000142)

Post by *ghisler(Author) »

Unfortunately that means that I will be stuck with that old compiler version forever. :(
Author of Total Commander
https://www.ghisler.com
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: TC10.50b3 x64 cannot start error: TCMADM64.EXE - Application Error (0xc0000142)

Post by *Dalai »

Well, you still use Delphi 2 to compile the x86 version, this counts as "forever" for me ;). In all seriousness, though, there surely is some way to find out which DLL causes this issue, isn't there?

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC10.50b3 x64 cannot start error: TCMADM64.EXE - Application Error (0xc0000142)

Post by *ghisler(Author) »

Unfortunately Lazarus doesn't provide this information in its crash screens, and Windows itself doesn't seem to detect anything.
Author of Total Commander
https://www.ghisler.com
Post Reply