Everything search: no effect

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
TW
Senior Member
Senior Member
Posts: 390
Joined: 2005-01-19, 13:35 UTC

Post by *TW »

ghisler(Author) wrote:
TC x86 + Everything x86 --> does not work
This does work here...

Just make sure you don't run TC elevated. Btw, I found a way to make elevated TC acces non-elevated "Everything"! Just the reverse isn't possible without changes to Everything.
i tried again, TC x86 does only a standard search here.
my account is an admin account (a no-go, i know) and i run both TC and Everything with no additional parameters or runas or whatever.

TC x64 on the other hand does work under the same environment with both Everything, x64 and x64.
licenced and happy TC user since 1994 (#11xx)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Are you using the latest release of everything, or the beta? I have tested only with the release version Everything-1.3.4.686.x86.zip (started manually).
Author of Total Commander
https://www.ghisler.com
TW
Senior Member
Senior Member
Posts: 390
Joined: 2005-01-19, 13:35 UTC

Post by *TW »

i used the latest Everything x86 beta, but just now i got the same result with Version 1.3.4.686 (x86). :?

Everything is started manually, not as service.


i wonder about other people here? is it really only me?
licenced and happy TC user since 1994 (#11xx)
jberry910
Junior Member
Junior Member
Posts: 28
Joined: 2010-02-08, 02:43 UTC
Location: Illinois, USA

Post by *jberry910 »

No it is not just you, TW. I have the same issue.
Joe
Central Illinois, USA
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

ghisler(Author) wrote:Btw, I found a way to make elevated TC acces non-elevated "Everything"! Just the reverse isn't possible without changes to Everything.
Does this way require rebuilding SDK?
How does it communicate with Everything? WM_COPYDATA or something else? In case of WM_COPYDATA it is interesting how non-elevated process can send anything to elevated one. :)
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6976
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

ghisler(Author) wrote:Are you using the latest release of everything, or the beta? I have tested only with the release version Everything-1.3.4.686.x86.zip (started manually).
Sorry, but the beta versions of Everything are much better than the current release.
It indexes modified date and file size for example
and also has a lot of error corrections.
There is no reason to stay with the old version.
User avatar
Guillaume
Member
Member
Posts: 105
Joined: 2003-04-08, 16:51 UTC

Post by *Guillaume »

ghisler(Author) wrote:Sorry, I fogot to include Everything32.dll and Everything64.dll. I will include them in the next beta.
Also I've noticed that elevated TC can't communicate with non-eleveated Everything, TC completely hangs (it will be sad if TC will unable to communicate with Everything regarding of elevation).
That's indeed bad. I will have to disable everything when TC runs elevated.
If, however, both Total Commander and Everything (via -admin -startup) are running elevated, it should still work, at least for now? (I always have both programs running elevated, so I would really appreciate it not to break by a check yet to be implemented).

However, I'm confused, as currently it doesn't work for me (with both programs elevated): I downloaded the everything64.dll, put it in the TC (x64) folder, restarted TC and ran a search while Everything (x64) STABLE was started: there seems to be a long timeout before the search results pane starts to populate (status bar and some widgets turn BLACK for that moment), but then I see all folders traversed in the status bar and the search results are presented in the regular way. My guess is that TC tries to use Everything, fails after a timeout, then starts a regular search?

Edit: I also tried it with the Everything service installed, but that gave the exact same results (but I read here that the .dll communicates with the Everything .exe and thus installing the service should NOT be necessary anyway).
Last edited by Guillaume on 2016-06-11, 19:18 UTC, edited 2 times in total.
User avatar
milo1012
Power Member
Power Member
Posts: 1158
Joined: 2012-02-02, 19:23 UTC

Post by *milo1012 »

Guillaume wrote:I downloaded the everything64.dll, put it in the TC (x64) folder, restarted TC and ran a search while Everything (x64) STABLE was started: there seems to be a long timeout before the search results pane starts to populate (status bar and some widgets turn BLACK for that moment), but then I see all folders traversed in the status bar and the search results are presented in the regular way. My guess is that TC tries to use Everything, fails after a timeout, then starts a regular search?
Strange, this works for me quite stable. Maybe try a different exe version.
But your problem reminds me: We need some kind of visual clue, to see when Everything was used and when not. This doesn't need to be some big icon, maybe highlighting the [x] Everything checkbox in a "warning" color (yellow?) after a search, when there were problems retrieving results from the DLL and TC needed to switch to normal search.
TC plugins: PCREsearch and RegXtract
User avatar
Guillaume
Member
Member
Posts: 105
Joined: 2003-04-08, 16:51 UTC

Post by *Guillaume »

milo1012 wrote:
Guillaume wrote:I downloaded the everything64.dll, put it in the TC (x64) folder, restarted TC and ran a search while Everything (x64) STABLE was started: there seems to be a long timeout before the search results pane starts to populate (status bar and some widgets turn BLACK for that moment), but then I see all folders traversed in the status bar and the search results are presented in the regular way. My guess is that TC tries to use Everything, fails after a timeout, then starts a regular search?
Strange, this works for me quite stable. Maybe try a different exe version.
But your problem reminds me: We need some kind of visual clue, to see when Everything was used and when not. This doesn't need to be some big icon, maybe highlighting the [x] Everything checkbox in a "warning" color (yellow?) after a search, when there were problems retrieving results from the DLL and TC needed to switch to normal search.
I replaced the .exe with the current beta and experience the exact same thing. I agree that a visual indication after a search when the link to Everything failed would be nice.
Terka
Senior Member
Senior Member
Posts: 326
Joined: 2006-05-24, 09:04 UTC

Post by *Terka »

Hi all,
i have everything 1.4.0.713b (x64)
and trying TC 9.0 x64 beta1
How to setup searching using everything?
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6976
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

Terka wrote:Hi all,
i have everything 1.4.0.713b (x64)
and trying TC 9.0 x64 beta1
How to setup searching using everything?
Check Everything service and Start Everything on System Startup in the Everything options.
Do this while you are running it once with enhanced rights.

Also there is a newer Everything beta available under:
http://www.voidtools.com/Everything-1.4.0.719b.x64.zip
sheppaul
Member
Member
Posts: 134
Joined: 2003-12-05, 07:59 UTC

Post by *sheppaul »

Wow this is exciting news but it seems not working with 1.4.0.719b too.

Win10 x64 + TCMD 9.0b x64

Everything is started as service with windows.
Terka
Senior Member
Senior Member
Posts: 326
Joined: 2006-05-24, 09:04 UTC

Post by *Terka »

in Everything have checked:
Start Everything on System Startup
Run as Administrator
Everything Service

Service is running, tried to restart it, still not working.

In which directory should i install?
TW
Senior Member
Senior Member
Posts: 390
Joined: 2005-01-19, 13:35 UTC

Post by *TW »

why run as a service? as far as i understood, you need to run the GUI anyway to make it working with TC.
licenced and happy TC user since 1994 (#11xx)
User avatar
tuska
Power Member
Power Member
Posts: 4059
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

I did the following steps and searching in TC using Everything works fine for me
under Windows 10 Pro / TC 9.0 b1 x32 + x64 / Everything 1.4.0.719b (x64)
with one exeption (please see at the end ***))

-) Thanks for hints and download link to Horst.Epp
http://ghisler.ch/board/viewtopic.php?p=309271#309271

-) Thanks for hints and download links from milo1012
http://ghisler.ch/board/viewtopic.php?p=308694#308694
You need to download the Everything DLLs from the SDK:
http://www.voidtools.com/Everything-SDK.zip
Put Everything32.dll / Everything64.dll in the TC dir.
Now start any Everything.exe instance before starting a search,
because the DLL communicates via IPC with the exe.


1) Be sure that Everything32.dll and Everything64.dll is under
%COMMANDER_PATH% (you can copy this into the command line of TC, then press ENTER) -
(location of files: in the folder of TOTALCMD.EXE and TOTALCMD64.EXE)

2) Start Everything.exe and click "Tool" - "Options" - "General" - tick "Everything Service" - "OK"

3) Start search in TC with ALT + F7 or ALT + SHIFT + F7
In "Find Files"-Window 'Everything' should be ticked automatically.
- path of TC is entered automatically
- not to forget button "Drives" ;-)

If not, then you have not startet Everything.exe before searching in TC
- search in TC without Everything is possible
- if you tick 'Everything' you will receive the hint:
"'Everything' is a search tool and search index. 'Everything' isn't installed! Do you want to download now?"
It's your choice ;-)

=============================

***)
I have installed and running Everything (x64) and if I use TC 9.0 b1 x32
for search with drives "Local Harddisks" C:\;D:\;I:\;J:\ (=> Button "Drives) then the results differ to TC 9.0 b1 x64.

In TC 9.0 b1 x32 path of Hardlinks (NtfsLinks.exe) in C:\ are searched too - in TC 9.0 b1 x64 not.
Therefore search lasts longer with more results and IMHO Hardlinks should be excluded in TC x32.
Post Reply