Skip to content

compatibility with everything 1.5a? #1439

Closed

Description

@agile6080

Firstly, thanks so much for dngrep, it's really useful.

I'd like to use its 'everything' search option, but I use everything 1.5 and would rather not have 1.5 and 1.4 both running. Your everything configuration page says that everything 1.5a doesn't include the third party API for integration, but isn't it possible to install this for 1.5a from here? This page also says that the previous SDK versions are compatible with 1.5a. Would it be possible to use 1.5a with dngrep via either the current version 3 sdk or a previous version?

Activity

  1. doug24 commented on Feb 23, 2026

    @doug24
    Contributor

    Thank-you for pointing this out, I have not been keeping up with Everything releases - I'm counting on the user base for that :)

    Yes, I think it should be possible to update dnGrep to use the Everything SDK v3.

  2. doug24 commented on Mar 11, 2026

    @doug24
    Contributor

    Support for 1.5a is included in the v4.7.10 release

  3. tyf2018 commented on Mar 11, 2026

    @tyf2018

    I am using the portable versions of dnGrep and Everything. Does the portable version not support this feature either? I followed the instructions to set it up, but it doesn't seem to have taken effect.

    Image
  4. agile6080 commented on Mar 11, 2026

    @agile6080
    Author

    I'm extremely grateful to you for doing this, thanks very much. It really is an incredibly useful tool, especially in combination with Everything.

  5. doug24 commented on Mar 11, 2026

    @doug24
    Contributor

    Thanks, @agile6080

    @tyf2018 The portable version of dnGrep does support it, but I did not test with the portable version of Everything. I don't see any reason why it would not.

    Is Everything running? It must be running first to accept connections from dnGrep.

    Can you check the dnGrep log file for messages about Everything - it should log errors when trying to connect to Everything. You can find the log file from the dnGrep About menu > Application logs.

  6. DaPa commented on Mar 12, 2026

    @DaPa

    I can confirm that it doesn't connect to portable Everything (testing in Win10 x64).

    Everything version: 1.5.0.1407, x64, running as service (Total Commander connects fine to it).
    Everything3_x64.dll (3.0.0.9, x64) copied into dnGrep folder.

    dnGrep 4.7.10.0, x64 doesn't see it though... Grep_Error_Log.xml lists:

    <logevent time="2026-03-12 19:18:46.1968" level="Error" logger="dnGREP.Everything.EverythingSearch3">
      <message>Everything3 SDK error while checking availability</message>
      <exception>dnGREP.Everything.EverythingException: Everything3_ConnectW returned null: Everything search client is not running.
       at dnGREP.Everything.NativeMethods3.ThrowIfNull(IntPtr ptr, String callerName) in C:\projects\dngrep\dnGREP.Everything\NativeMethods3.cs:line 112
       at dnGREP.Everything.EverythingSearch3.get_IsAvailable() in C:\projects\dngrep\dnGREP.Everything\EverythingSearch3.cs:line 37</exception>
    </logevent>
    
  7. doug24 commented on Mar 12, 2026

    @doug24
    Contributor

    @DaPa Thank-you for the confirmation and log file - this tells me what is not working. The Everything3_x64.dll is unable to open a named pipe to the server.

    I'll get the portable version of Everything and see if there is something I can fix.

  8. doug24 commented on Mar 12, 2026

    @doug24
    Contributor

    There are a few options when running the portable version of Everything.

    First, I uninstalled both Everything 1.4.1 and Everything 1.5a that I had previously used for testing. Then I ran the portable Everything-1.5.0.1407a.x64. When I start the portable version, I got this dialog:

    Image

    I took the recommended option. It goes through the UAC to run as Administrator. When I look in Task Manager > Details, there are two instances of Everything running. I can close the Everything UI, and it leaves an icon in the notification area (system tray).

    When Everything is in this state and I start dnGrep, it connects to Everything, and all is good.

    If I close Everything from the notification area icon, both instances of Everything are removed from Task Manager and dnGrep cannot connect to Everything. Makes sense, there is no process to connect to.

    I tried changing settings in the Everything > Tools > Options. I unchecked "Run indexing service as administrator" and checked "Everything Service". In this configuration, there are still two instances of Everything running in Task Manager, but if you exit Everything using the notification area icon menu, one instance is left running.

    In this configuration, dnGrep can connect to Everything if the Everything icon is shown in the notification area, with or without the Everything UI window open. It is not enough to just have the Everything Service running.

    So, how you have Everything configured? Can you use the "Run indexing service as administrator" option?

    Image
  9. DaPa commented on Mar 12, 2026

    @DaPa

    Thanks for details! I have used install the Everything option service:

    Image

    But after seeing your picture I think the culprit is the empty "NO_ALPHA_INSTANCE" file I have in its folder (which removes the "1.5a"). When I removed that file, dnGrep was able to see Everything...
    Related: https://www.voidtools.com/forum/viewtopic.php?p=73266#p73266

    Are you using the NO_ALPHA_INSTANCE file in the same location as your Everything.exe?
    This will control the service pipe name.
    With NO_ALPHA_INSTANCE:
    \\.\PIPE\Everything Service
    Without NO_ALPHA_INSTANCE:
    \\.\PIPE\Everything Service (1.5a)
    
  10. doug24 commented on Mar 12, 2026

    @doug24
    Contributor

    dnGrep is calling Everything3_ConnectW("1.5a") where 1.5a is the instance name.

    The comment in the Everything3.h file says:
    // instance name can be NULL or an empty string to connect to the main unnamed instance.

    In the supplied sdk3.test.c file, he tries the connection four times:

    Everything3_Connect(NULL);
    Everything3_Connect(L"1.5a");
    Everything3_Connect(L"meta");
    Everything3_Connect(L"1.5");
    

    I can add that to dnGrep in the next release. That's probably more resilient.

  11. tyf2018 commented on Mar 13, 2026

    @tyf2018

    Can you check the dnGrep log file for messages about Everything - it should log errors when trying to connect to Everything. You can find the log file from the dnGrep About menu > Application logs.

    Sorry for the late reply, but here is the log.

    Everything3 SDK error while checking availability dnGREP.Everything.EverythingException: Everything3_ConnectW returned null: Everything search client is not running. at dnGREP.Everything.NativeMethods3.ThrowIfNull(IntPtr ptr, String callerName) in C:\projects\dngrep\dnGREP.Everything\NativeMethods3.cs:line 112 at dnGREP.Everything.EverythingSearch3.get_IsAvailable() in C:\projects\dngrep\dnGREP.Everything\EverythingSearch3.cs:line 37
  12. tyf2018 commented on Mar 13, 2026

    @tyf2018

    I cannot connect to Everything regardless of whether ‘Run indexing process as administrator’ is checked.

    Image Image
  13. doug24 commented on Mar 13, 2026

    @doug24
    Contributor

    @tyf2018 I don't know what to tell you other than what is already in this discussion. I don't use Everything, so I don't know much about configuring it.

    With the portable version of Everything, I have nothing other than the Everything.exe and the configuration I show above, and it works.

    As @DaPa wrote earlier: Are you using the NO_ALPHA_INSTANCE file in the same location as your Everything.exe?

  14. tyf2018 commented on Mar 13, 2026

    @tyf2018

    @doug24 I didn’t use the NO_ALPHA_INSTANCE file, but I did install the IbEverythingExt plugin. IbEverythingExt
    Anyway, I won’t spend more time investigating it.
    Thanks for your help regardless.

  15. doug24 commented on Apr 14, 2026

    @doug24
    Contributor

    Added new default instance and user instance setting in the Options dialog in v4.7.25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions