Plugin interface descriptions for TC 7.5 (beta)

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

Moderators: Hacker, petermad, Stefan2, white

User avatar
tbeu
Power Member
Power Member
Posts: 1354
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Copy'n'paste mistake

Post by *tbeu »

The help page of [face=courier]ListSetDefaultParams[/face] of https://plugins.ghisler.com/lsplugins/listplughelp2.0.zip reads

Code: Select all

void __stdcall FsSetDefaultParams(ListDefaultParamStruct* dps);
The help page of [face=courier]ListDefaultParamStruct[/face] reads ListNotificaListDefaultParamStruct is passed...

Shouldn't there by a wchar_t[] field for the Unicode [face=courier]DefaultIniNameW[/face] in the [face=courier]ListDefaultParamStruct[/face]?
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for the corrections!
Author of Total Commander
https://www.ghisler.com
User avatar
tbeu
Power Member
Power Member
Posts: 1354
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Re: Copy'n'paste mistake

Post by *tbeu »

What about my last concern?
tbeu wrote:Shouldn't there by a wchar_t[] field for the Unicode [face=courier]DefaultIniNameW[/face] in the [face=courier]ListDefaultParamStruct[/face]?
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2tbeu
No there is no Unicode version of this function.
User avatar
tbeu
Power Member
Power Member
Posts: 1354
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

I know there is no such field but shouldn't there be one (not in the documentation but in the real thing)?
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

No, because TC doesn't support ini files in Unicode-only directories (this would break existing ANSI only plugins).
Author of Total Commander
https://www.ghisler.com
djorge
Senior Member
Senior Member
Posts: 422
Joined: 2003-07-03, 12:48 UTC
Location: Portugal

Post by *djorge »

Hi, there is an inconsistency in FsRenMovFile function.

Whenever i use the move operation via F6 the function is called 2 times as it should.

If instead i use "in-place" rename (default: shift-F6), this function is only called 1 time!!

shouldn't this function also be called 2 times?
______________________
David Jorge
Personal License #117854
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This is indeed a limitation of the function, it doesn't currently support to overwrite in place.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Dear Mr. Ghisler,
Where can plugin writers download new API help files for TC 7.55?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I have added a new pinned topic now with the help files and updated sample plugins.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Thank you!
Post Reply