Tcmd Plugins on Vista 64 bit

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Zox
Junior Member
Junior Member
Posts: 8
Joined: 2008-01-13, 15:48 UTC

Tcmd Plugins on Vista 64 bit

Post by *Zox »

Hello

I just installed the Tcmd 7.02 with the plugins webdav, linkinfo and playlist (latest versions) onto a 64-bit Vista box:

If Tcmd is installed into C:\Programs (x86)\totalcmd it appears to work just fine.

But all those three plugins fails. Their installation went fine, but:

- webdav doesn't store the connection, so for each subfolder it opens again the connection dialog.

- linkinfo doesn't display anything

- playlist doesn't display anything

I have the feeling that the failure reason for them is common. Although I can't prove it.

It's just wild speculation: But could it be that the plugins somehow expect the C:\Programs\totalcmd\plugins instead of the C:\Programs (x86)\totalcmd\plugins

Sorry to bother you if I picked the wrong forum.

All 32 bit apps should work fine on 64 bit Vista. At least Tcmd does.

So I wonder what's wrong with the plugins?

Best regards,
Zox
User avatar
ate
Senior Member
Senior Member
Posts: 274
Joined: 2003-12-17, 22:48 UTC

Post by *ate »

Hi !

Have you tried to install TC to C:\ (or copy the portable version from C:\programs\ to C:\) and install the plugins to this TC ?

I have no probs with the linkinfo-plugin.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The WebDAV plugin stores its settings in a file named tcwebdav.ini in the same directory where wincmd.ini is stored.

What did you define as the directory for wincmd.ini? You can see this in the menu Help - About Total Commander. Make sure that it's set to a directory where you have write rights.
Author of Total Commander
https://www.ghisler.com
Zox
Junior Member
Junior Member
Posts: 8
Joined: 2008-01-13, 15:48 UTC

Post by *Zox »

Hello

I'll try to answer all questions in one post:

On a 64 bit Vista there are the folders C:\Programs and C:\Programs (x86).

The first one is to be used by all native 64 bit applications, and the later for all 32 bit applications.

While the 64 bit applications could probably be installed elsewhere on the disk, the 32 bit applications have to be in the C:\Programs (x86), cause this way it is ensured that the application use the system libraries from the C:\windows\System32 folder instead the default 64 bit system libraries in the folder C:\Windows\WOW64.

So, I don't see the point to install TC directly to C:\Tcmd. But I'll try it just to verify.

Another fact on 64 bit Vista is that the "Documents and Settings" folder is depreciated. How? Well it is not a real folder anymore, it became a junction that points to C:\Users\.

In theory that should ensure that old-fashioned applications that use the "Documents and Settings" continue to work.

But I noticed, that wincmd.ini and wcx_ftp.ini are saved to the folder
C:\Users\Zox (and yes they are editable), and the tcwebdav.ini doesn't appear in this folder.

This leads me to the conclusion that somehow the webdav tries to access this folder somehow different than Tcmd itself.

And to add the test result for C:\Tcmd:

Webdav shows the same problem.
Playlist shows the same problem.

And Linkinfo really works, also if installed in C:\Programs (x86). But it works only with links not with junctions.

Thanks and regards,
Zox
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

While the 64 bit applications could probably be installed elsewhere on the disk, the 32 bit applications have to be in the C:\Programs (x86), cause this way it is ensured that the application use the system libraries from the C:\windows\System32 folder instead the default 64 bit system libraries in the folder C:\Windows\WOW64.
Where do you have this "information" from? All 32-bit applications see the 32-bit "system32", independent from where they were installed...
Author of Total Commander
https://www.ghisler.com
Zox
Junior Member
Junior Member
Posts: 8
Joined: 2008-01-13, 15:48 UTC

Post by *Zox »

Hello

It was on a webpage somewhere, but I cannot find it again. While seaching for an answer to this question, the more I was reading the less I understood it.

But another observation I made with pure Tcmd 7.02 on 64b Vista (no plugins):

The tooltips are displayed only for the buttons, in the main panels no tooltips at all are displayed.

To be sure that I didn't miss something in the configuration I hit F1 to open the help file, and I got an error saying:

=========================
The Help for this program was created in Windows Help format, which was used in previous versions of Windows and is not supported in Windows Vista.

For more information see :
http://support.microsoft.com/kb/917607/EN-US
=========================

Probably the answer on why there are separate "Program Files" and "Program Files (x86)" can be found in MSDN, but I dont' have access to it.

Regards,
Zox
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

Zox
Concerning help: you can either download WinHelp.exe from the Microsoft web-site and install it, or find here on the forum the CHM version of the TC help file and install it instead of default HLP.

Concerning plugins, I suppose you turned on x64DisableRedirection parameter. Try to set it to 0.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
petermad
Power Member
Power Member
Posts: 16030
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

find here on the forum the CHM version of the TC help file
http://ghisler.ch/board/viewtopic.php?p=133108#133108


It is also provided in this package: http://www.totalcmd.net/plugring/TcMenu_en_7.html
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Zox
Junior Member
Junior Member
Posts: 8
Joined: 2008-01-13, 15:48 UTC

Post by *Zox »

Hello everybody

0. All the following steps I was doing on a fresh installation of a 64- bit Vista with all updates it receives from Microsoft + TCMD 7.02 + the webdav plugin, with the default installation file for TCMD.

1. I've downloaded the *.chm help file and it is displaying the help fine. Thanks for the links. (I think this should be part of the default installation).

2. The x64DisableRedirection parameter I didn't turn on. I wasn't even aware of it. And in the defaulkt wincmd.ini it is not listed. But after reading in help I tried it with both values, and it didn't make any difference.

3. Then I have created manually the empty file C:\Users\Zox\tcwebdav.ini, to see if some settings are going to be saved there when opening an webdav connection, but the file remained empty, so no difference.

So I deleted the C:\Users\Zox\tcwebdav.ini file again, and deleted the webdav plugin proceeding to the next steps.

4. Finally I have downloaded the sysinternal process monitor (replaces the filemon regmon and processmon in one tool) and traced a bit the process TOTALCMD.EXE and a path ending with tcwebdav.ini and found following:

a) The installation of the webdav plugin doesn't create the tcwebdav.ini file.

b) When opening an connection TCMD tries to create the file tcwebdav.ini but it fails with following details:

"25707","22:03:34,9402675","TOTALCMD.EXE","2464","CreateFile","C:\Users\Zox\tcwebdav.ini","NAME NOT FOUND","Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a"

This clearly indicates that the file creation is somehow wrong and explains the observation I've made.

More or less by accidentally I found that when I copied an valid tcwebdav.ini from another computer with the connection already saved it works fine. At least it reads the existing connection fine, I didn't try another connection 'cause I don't have another server.

I think it is up to you now to trace it down at the code level where it fails.

Later this week I'll try to figure out what's wrong with the lister plugins.

Have a nice weekend,
Zox
Post Reply