Directly run TCMDX64.exe: crash

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
MVV
Power Member
Power Member
Posts: 8704
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Directly run TCMDX64.exe: crash

Post by *MVV »

Under 64-bit Windows 7 directly run TCMDX64.exe. First message box:

Code: Select all

---------------------------
tcmdx64
---------------------------
This program is internal to Total Commander. Do not call it directly!
---------------------------
ОК   Отмена   
---------------------------
Click OK. Second message box:

Code: Select all

---------------------------
tcmdx64
---------------------------
S 0 32769 0 0 0 0 0 Исправл&ение неполадок совместимости

M 0 197571 35888 0 0 0 0 0 Отправит&ь

S 0 35841 0 0 0 0 0 

E 


---------------------------
ОК   
---------------------------
Both messages have MB_ICONSTOP style.

I know that this file is not for direct run but I think that it shouldn't cause any errors in this case.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48231
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This is NOT a crash! The second dialog is for test purposes, it shows the raw context menu data exactly as they are sent to Total Commander. If you call tcmdx64.exe without parameters, you will get the menu for tcmdx64.exe itself, just as if you right clicked on it and opened the x64 submenu. Alternatively, you can pass a full path name (must start with a drive letter) to tcmdx64.exe.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8704
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

OK, thanks for explanation. I understood that it is not a crash. But I think it would be better to use MB_ICONINFORMATION icon instead of MB_ICONSTOP for second message box - currently it looks as error message. :)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48231
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Well, it shows the stop button because the program exits just after that message.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8704
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

It is your wish. But usually MB_ICONERROR style (that equals to MB_ICONHAND and MB_ICONSTOP) is used to display error messages, and MB_ICONINFORMATION (that equals to MB_ICONASTERISK) is used to display information messages. Here second message is more information message than error message, but looks like error message. :)
Post Reply