This problem was reported to me by e-mail:
When
1. The user has maximized Total Commander and selected Configuration - Save position,
and
2. The option "mimimize to system tray" is set,
and
3. Total Commander is started via a shortcut (lnk file) which is set to "run minimized"
then an access violation will be shown every time TC is started via that link. It seems that TC tries to call a special tray function before it was loaded. No harm is done, TC will work normally when the user clicks on OK in the error dialog.
Solution: Resize TC in non-maximized state to the desired size, and choose "save position". I will fix this problem in TC 7.04a.
Access violation at startup, and a workaround
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Access violation at startup, and a workaround
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I have investigated on the cause of the problem now: It's nothing critical. TC tries to set the main program title as the tooltip of the tray icon, but in this specific situation the main window title is still unvailable (NULL pointer). So the access violation occurs when TC tries to read data from this NULL pointer. There is no danger of code injection or data damage.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Access violation at startup, and a workaround
Hello, Christian.
Followed these steps carefully.
Total Commander will be launched and minimized to the systray. No access violation will occur.
+ Windows Vista Home Premium, 32bit, GER
+ Total Commander v7.50 Public Beta 1
I assume we may consider this bug fixed.
Kind regards,
Karl
Followed these steps carefully.
Result:1. The user has maximized Total Commander and selected Configuration - Save position,
and
2. The option "mimimize to system tray" is set,
and
3. Total Commander is started via a shortcut (lnk file) which is set to "run minimized"
Total Commander will be launched and minimized to the systray. No access violation will occur.
+ Windows Vista Home Premium, 32bit, GER
+ Total Commander v7.50 Public Beta 1
I assume we may consider this bug fixed.
Kind regards,
Karl