I am trying to create my own "wallpaper engine"-ish app, and am intergrating everything into it. Every time i search for 11 characters I get a crash? could anyone help me? (C++)
EDIT: My application crashes, with an exception pointing to Everything64.dll
should've clarified, my bad.
Everything SDK crashes after 11 character search. C++
Everything SDK crashes after 11 character search. C++
Last edited by Whatevvs on Sun Jan 30, 2022 8:29 pm, edited 1 time in total.
Re: Everything SDK crashes after 11 character search. C++
Does Everything crash?
Does your application crash?
Do you get an error or other feedback?
What is shown in Everything's debug console or debug log?
Does your application crash?
Do you get an error or other feedback?
What is shown in Everything's debug console or debug log?
Re: Everything SDK crashes after 11 character search. C++
Everything does not crash.
My application crashes (I get an exception when search is 11 chars long, even if hardcoded
This is the exception: Exception thrown at 0x00000001800072B6 (Everything64.dll) in InteractiveWallpaper.exe: 0xC0000005: Access violation writing location 0x000001D2D3131000.
Everything debug log here
My application crashes (I get an exception when search is 11 chars long, even if hardcoded
This is the exception: Exception thrown at 0x00000001800072B6 (Everything64.dll) in InteractiveWallpaper.exe: 0xC0000005: Access violation writing location 0x000001D2D3131000.
Everything debug log here
Re: Everything SDK crashes after 11 character search. C++
According to your debug log, you are using Everything 1.4.1.1009 (x64).
Your search query was probably "abcdefghijk", although only "abcdefghij" (without the k) has reached Everything.
We will have to wait what @void has to say about it (I'm not a developer) but something that might be worth a shot is to disable shell extensions in Everything temporarily, as poorly written ones can cause all sort of trouble (although I'm not certain if they affect searches via the SDK too).
PS: What happens when you PASTE "abcdefghijklmnop" in your wallpaper app?
Your search query was probably "abcdefghijk", although only "abcdefghij" (without the k) has reached Everything.
We will have to wait what @void has to say about it (I'm not a developer) but something that might be worth a shot is to disable shell extensions in Everything temporarily, as poorly written ones can cause all sort of trouble (although I'm not certain if they affect searches via the SDK too).
- In the Everything search bar, type the following and press ENTER:
The result of that command will be shown in Everything's statusbar for a few seconds
Code: Select all
/icon_shell_extensions=0
- Run your code
- Type abcdefghijk in the search bar.
PS: What happens when you PASTE "abcdefghijklmnop" in your wallpaper app?
Re: Everything SDK crashes after 11 character search. C++
Ok apparently it is now crashing differently, instead of crashing when the search is longer than 10 it now crashes when I type 10 chars into the search bar. Still no idea what causes it but now I’m the thinking somehow its broken on my end (will look into it more tomorrow).
Re: Everything SDK crashes after 11 character search. C++
The expection is in memmove, a CRT call.0x00000001800072B6
Most likely referenced from Everything_SetSearch()..
Please make sure you specify the correct buffer size for Everything_GetResultFullPathNameW
That is, the buffer size in wchars (including room for the NUL terminator)
Please make sure you are compiling with the Unicode character set and you are passing a NUL terminated Unicode string to Everything_SetSearch.
Please try stepping over each Everything SDK call.
What Everything SDK call is causing the exception?