TConsole plugin

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

WatchUer wrote:Haven't I told you that I also use relative paths for plugins in wincmd.ini's [ListerPlugins] section? :wink: If I edit the wincmd.ini to change the TConsole's full path to relative path like:TConsole=.\plugins\TConsole.wfx then the TConsole won't work. :(
True... all other plugins work this way (EventLog too :-) ) but TConsole not.
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

To have the ini in the same directory as the wincmd.ini, you need to implement the *SetDefaultParams function (FsSetDefaultParams, ListSetDefaultParams or PackSetDefaultParams). This function is new in TC 5.51 and tells the plugin where to store the its ini. You can either use the suggested ini file name (it may be shared by other plugins, so use an unique section name), or override it with your own ini name.
Author of Total Commander
https://www.ghisler.com
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

Oops, i forgot about it. :oops: I'll do it in the next version.
User avatar
Shanny
Member
Member
Posts: 177
Joined: 2003-02-24, 08:38 UTC

Post by *Shanny »

GREAT! It supports DBCS.
bug report:
As you know, the command "cm_ExecuteDOS" can run cmd.exe and open a new console window, but it can't work when TConsole is running.
TCEE, TCPP, F4Menu -- Shanny
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

Shanny wrote:GREAT! It supports DBCS.
bug report:
As you know, the command "cm_ExecuteDOS" can run cmd.exe and open a new console window, but it can't work when TConsole is running.
Sorry, this behavior cannot be changed. :(
User avatar
Shanny
Member
Member
Posts: 177
Joined: 2003-02-24, 08:38 UTC

Post by *Shanny »

VadiMGP wrote: Sorry, this behavior cannot be changed. :(
o, what a pity!
TCEE, TCPP, F4Menu -- Shanny
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Post by *Black Dog »

[face=courier]Got this error trying to add TConcole 1.0.0.8 to plugins list on NT4SP6a:

Error loading plugin file!
The plugin probably needs some DLLs missing on your system.

And actually it doesn't work for me on w2kSRV and XPPro too (with wincmd.ini stored in %SYSTEMROOT% or in %COMMANDER_PATH% and loaded by "/I=" command line parameter) though at least I can add it to plugins list %). Any ideas?[/face]
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3869
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Black Dog wrote:Error loading plugin file!
The plugin probably needs some DLLs missing on your system.
Try to figure out which dll is missing (using MS Dependency Walker or better FileInfo Plugin)

You may need the PSAPI.DLL (free redistributable) which is missing on almost every non developer NT machine.
#5767 Personal license
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

2Black Dog
I think sqa_wizard is right. Most probably you missing psapi.dll. If you want i can send it to you.

About w2k and XP. Did you rename the plugin? Can you put here or send me your registry entries for TC and complete line with /I parameter?
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Post by *Black Dog »

[face=courier]On 09-11-2003 21:35:02 +0000 VadiMGP wrote:

V> Most probably you missing psapi.dll.

Well, you should know it for sure, I guess %).

V> Did you rename the plugin?

No.

V> Can you put here or send me your registry entries for TC

[HKEY_CURRENT_USER\Software\Ghisler\Total Commander]
"InstallDir"="C:\\Totalcmd"

V> and complete line with /I parameter?

Well, no problem. I started it from my JetFlash via batch file with "/I=h:\totalcmd\wincmd.ini" parameter.[/face]
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

2Black Dog
Well, you should know it for sure, I guess %).
So? Don't talk in riddles. %)

W2K & XP - I have no idea right now. And without batch file it works?
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Post by *Black Dog »

[face=courier]On 09-11-2003 21:35:02 +0000 VadiMGP wrote:

V> So? Don't talk in riddles. %)

I have PSAPI.DLL v.5.00.2134.1 in my %SystemRoot%\System32.

V> W2K & XP - I have no idea right now. And without batch file
V> it works?


No. I use two TC installation on that machines, from HDD and from JetFlash sometimes, HDD one use wincmd.ini from %SystemRoot% and both don't work with TConsole.

BTW are you subscribed to WINCOMMANDER?[/face]
Last edited by Black Dog on 2003-11-09, 23:39 UTC, edited 1 time in total.
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Black Dog

PSAPI.DLL should be in %SYSTEMROOT%\System32\ not in %SYSTEMROOT%.

Recent TConsole version doesn't work on my PC. Old versions (<= 1.5) work fine.
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Post by *Black Dog »

[face=courier]On 10-11-2003 00:26:13 +0000 Lefteous wrote:

L> PSAPI.DLL should be in %SYSTEMROOT%\System32\ not in
L> %SYSTEMROOT%.


Yep, this is there it is, I forgot to compleat path. Fixed.[/face]
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

2Black Dog
What is the path to TConsole.wfx in your wincmd.ini? Full or relative?
are you subscribed to WINCOMMANDER?
Yes. ;) Why?
Post Reply