You won't be able to browse them in such case.white wrote:Perhaps you can present these folders as virtual files and solve it that way?
Plugin interface descriptions for TC 7.55 (beta)
Moderators: white, Hacker, petermad, Stefan2
Might be solved by implementing FsExecuteFile, changing RemoteName to new path and return FS_EXEC_SYMLINK?MVV wrote:You won't be able to browse them in such case.white wrote:Perhaps you can present these folders as virtual files and solve it that way?
Another approach that might work:
Include a virtual file "copy this folder" in each folder. Don't do anything with this file when copied (FsGetFile), but copy the folder when executed (FsExecuteFile).
No, I don't know if it works. Maybe not if I read this.MVV wrote:Have you tried to return FS_EXEC_SYMLINK?
I don't knowMVV wrote:How '..' will work for redirected folder?
![Wink ;-)](./images/smilies/icon_wink.gif)
Correct.MVV wrote:Search will not work with virtual files anyway...
Last edited by white on 2022-03-22, 21:11 UTC, edited 1 time in total.
Reason: fixed link
Reason: fixed link
- ghisler(Author)
- Site Admin
- Posts: 48104
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Another notice and a question. ![Smile :)](./images/smilies/icon_smile.gif)
There are functions in WCX API that pass callbacks. Some of them just pass function pointers:
(like most other callback setters in W?X interfaces do)
But some pass function pointer and some data pointer:
(help says that value should be stored somewhere and one you can use hArcData returned by OpenArchive to identify that place)
So does TC pass the same callback pointer for all hArcData values or there may be different callbacks for different archives? I expect that first case is correct because second one looks weird (it implies runtime code generation since there will be no way for TC to detect for which plugin/archive callback is called).
![Smile :)](./images/smilies/icon_smile.gif)
There are functions in WCX API that pass callbacks. Some of them just pass function pointers:
Code: Select all
PkSetCryptCallback(tPkCryptProc pPkCryptProc,int CryptoNr,int Flags)
But some pass function pointer and some data pointer:
Code: Select all
SetChangeVolProc(HANDLE hArcData, tChangeVolProc pChangeVolProc1)
So does TC pass the same callback pointer for all hArcData values or there may be different callbacks for different archives? I expect that first case is correct because second one looks weird (it implies runtime code generation since there will be no way for TC to detect for which plugin/archive callback is called).
Re: Plugin interface descriptions for TC 7.55 (beta)
Yeah, I also vote for providing the guides in CHM. Do I really have to get some HLP converter just to read the guides under Windows 10?
Roman
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Re: Plugin interface descriptions for TC 7.55 (beta)
I think that much more changes would be required in code than just adding const for some function arguments in case of adding Unicode support... And, these functions are exported by DLL, they don't need to be called from another plugin source file, so no signature matching is required.
The only case when adding Unicode support is just straightforward as you say is when all plugin code uses TCHAR and Windows API for working with strings, and no CRT or STL where ANSI and Unicode require completely different functions and classes. But I don't think that most plugins work like that:)
The only case when adding Unicode support is just straightforward as you say is when all plugin code uses TCHAR and Windows API for working with strings, and no CRT or STL where ANSI and Unicode require completely different functions and classes. But I don't think that most plugins work like that:)
Re: Plugin interface descriptions for TC 7.55 (beta)
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
- ghisler(Author)
- Site Admin
- Posts: 48104
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Plugin interface descriptions for TC 7.55 (beta)
Btw, I'm still offering a $200 reward for anyone porting an existing plugin (without source) to 64-bit for which there is no 64-bit version yet, or to create a new 32bit+64bit plugin. There is also a $100 reward for recompiling an existing plugin with source to 64-bit.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com