32 and 64-bit TC in same directory and OpenSSL dlls
Moderators: Hacker, petermad, Stefan2, white
If the plugin loads all dlls itself, then yes. But if plugin loads only some dlls and they load others, then I don't think it will work very well.
You can see the behaviour with Ghisler's own sftplug. If you use his dlls an put them into plugin folder, then it will fail, because libssh2.dll loads zlibwapi.dll and does not look for it in the same directory. And if you view libssh2.dll as general third-party dll that you can't modify (not really true in this case), then it may be a problem. I don't know if there's any API to modify PATH for current process, that would be possible solution.
You can see the behaviour with Ghisler's own sftplug. If you use his dlls an put them into plugin folder, then it will fail, because libssh2.dll loads zlibwapi.dll and does not look for it in the same directory. And if you view libssh2.dll as general third-party dll that you can't modify (not really true in this case), then it may be a problem. I don't know if there's any API to modify PATH for current process, that would be possible solution.
Seems to work fine. Tested with the libraries fromghisler(Author) wrote:Could someone try whether OpenSSL works with the 64-bit files in subdir "64" under the Totalcmd directory, please? This should work now with beta 2.
https://plugins.ghisler.com/addons/openssl+ssh64.zip
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Hello, Christian.
Sorry to say so, but I cannot confirm that SFTP v1.1 64-bit works fine if I put the 64-bit DLLs
+ libeay32.dll
+ libssh2.dll
+ ssleay32.dll
+ zlibwapi.dll
in the folder %COMMANDER_PATH%\64.
It works correctly only provided they are stored in the folder %COMMANDER_PATH%.
For more details, please, cf. => here <=
Total Commander 8.0ß3 64-bit
SFTP v1.1 plus the DLLs provided by you
Server 2008 R2
Cheers,
Karl
Sorry to say so, but I cannot confirm that SFTP v1.1 64-bit works fine if I put the 64-bit DLLs
+ libeay32.dll
+ libssh2.dll
+ ssleay32.dll
+ zlibwapi.dll
in the folder %COMMANDER_PATH%\64.
It works correctly only provided they are stored in the folder %COMMANDER_PATH%.
For more details, please, cf. => here <=
Total Commander 8.0ß3 64-bit
SFTP v1.1 plus the DLLs provided by you
Server 2008 R2
Cheers,
Karl
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry, the sftp plugin has NOT been changed to look for the dlls in '64'. It expects them in the TC directory. The fix was only for the internal FTPS client.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The plugin still seems to do that. Try putting them in the 64-bit system32 directory.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
For portable TC, you will have to put them in separate subdirs for the moment.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
What is the solution for tcmatch if I don't want separate configuration files?ghisler(Author) wrote:Could someone try whether OpenSSL works with the 64-bit files in subdir "64" under the Totalcmd directory, please? This should work now with beta 2.
What about just adding a new name in wincmd.ini: tcmatch64
Peter, Personal licence #84319
Hello. Maybe, %COMMANDER_PATH%\x86 and %COMMANDER_PATH%\x64 folders for generally available resources (such as %COMMANDER_PATH%\*.exe and %COMMANDER_PATH%\*.dll) will help us? =)
Just let totalcmd search resources in x86 and totalcmd64 in x64... Plugins - yeah, they can create there own x86 and x64 folders inside their location. =))
Pleeease... I use portable installation and have already had problems with OpenSSL.
Just let totalcmd search resources in x86 and totalcmd64 in x64... Plugins - yeah, they can create there own x86 and x64 folders inside their location. =))
Pleeease... I use portable installation and have already had problems with OpenSSL.