Search found 23 matches

by Gisle Vanem
Wed Jun 03, 2020 9:15 am
Forum: Bug report
Topic: Memory leak
Replies: 2
Views: 2868

Re: Memory leak

That's good.
by Gisle Vanem
Tue Jun 02, 2020 9:16 am
Forum: Bug report
Topic: Memory leak
Replies: 2
Views: 2868

Memory leak

I just installed the Deleaker memory/debug tool. When using the Everything-SDK in my program, Deleaker reported a memory-leak for the _Everything_cs critical section setup in _Everything_Initialize() . Since this is never deleted, I patched Everything.c into this: void EVERYTHINGAPI Everything_Clean...
by Gisle Vanem
Sat Aug 24, 2019 10:42 am
Forum: Development, plugins and third party software
Topic: Python Everything SDK Example
Replies: 5
Views: 13601

Re: Python Everything SDK Example

Your test.py works fine in my Python 3.6.5. But not in Python 2.7.15 !?
Wounder why....
by Gisle Vanem
Fri Jan 18, 2019 7:46 am
Forum: Development, plugins and third party software
Topic: Non-MSVC compilers and the SDK
Replies: 0
Views: 7801

Non-MSVC compilers and the SDK

I've done some patches to the EveryThing SDK for turning down the warnings etc. from various non-MSVC compilers: CygWin - tested with gcc ver. 7.4.0. Both x86 and x64. Clang - tested with ver. 8.0.0. Both x86 and x64. PellesC - tested with ver. 8.00.170. OpenWatcom - tested with ver. 2.0 beta. Other...
by Gisle Vanem
Tue Jul 31, 2018 2:14 pm
Forum: Bug report
Topic: Duplicates in 'content:' searches
Replies: 5
Views: 11041

Re: Duplicates in 'content:' searches

void wrote:content: will only search files that you have indexed.
I don't get it. Meaning I will get lots of duplicates if I really want the handy content:foo feature?
by Gisle Vanem
Tue Jul 31, 2018 12:02 pm
Forum: Bug report
Topic: Duplicates in 'content:' searches
Replies: 5
Views: 11041

Re: Duplicates in 'content:' searches

What are your results if you search for syserr.cpp? The same. Do you have a folder index which might be duplicating these results from Tools -> Options -> Folders? That seemed to be it. I had these: c:\Program Files c:\Program Files (x86) Removing them and selecting Rescan Now fixed it. But, I'm no...
by Gisle Vanem
Tue Jul 31, 2018 11:00 am
Forum: Bug report
Topic: program won't start anymore
Replies: 50
Views: 282169

Re: program won't start anymore

i just tried the portable and regular installation in safe mode and nothing works . Are you a member of Microsoft's Insider Preview program? What Win-10 build version do you have? Run c:\> winver to find out. This should AFAICS be 1803, OS-build 17134.191 if you use the last stable version. The lat...
by Gisle Vanem
Tue Jul 31, 2018 10:27 am
Forum: Bug report
Topic: Duplicates in 'content:' searches
Replies: 5
Views: 11041

Duplicates in 'content:' searches

First, a million thanks for a super program and the EveryThing SDK which I use in my https://github.com/gvanem/EnvTool program. To the issue: I found many forum topics related to Duplicates . But not Duplicates together with content: ... '' Like in this screen-shot: http://watt-32.net/misc/Everythin...
by Gisle Vanem
Fri Oct 06, 2017 11:49 am
Forum: General
Topic: Quick Question regarding Everything and RegEx
Replies: 7
Views: 5726

Re: Quick Question regarding Everything and RegEx

I'm also not fluent in regex syntax. So it was easy for me to erroneously query like this: c:\\windows\\.*gcc*\.exe$ which returns this: c:\WINDOWS\sysnative\dnscacheugc.exe c:\Windows\System32\netbtugc.exe c:\Windows\System32\netiougc.exe c:\Windows\System32\setupugc.exe c:\Windows\SysWOW64\netbtug...
by Gisle Vanem
Tue Aug 08, 2017 2:16 pm
Forum: Bug report
Topic: ETP-server resets connection
Replies: 7
Views: 7172

Re: ETP-server resets connection

Ok.

I changed to port 2121 and that works very stable; no 10054/WSAECONNRESET codes.
I get good transfer speed too; an
envtool --evry --host 10.0.0.37 *

gives 26 MByte of data in 9 sec (154 000 files).
Which works out as approx. 22 MBit/s over a 54 Mbit/s WiFi. Not bad!
by Gisle Vanem
Sat Aug 05, 2017 11:59 am
Forum: Bug report
Topic: ETP-server resets connection
Replies: 7
Views: 7172

Re: ETP-server resets connection

What version of Windows are you using? Win-10 on both client and server sides. Do you have the Windows firewall enabled? Yes. But I'm testing on my LAN for the moment. Do you have a ETP-test server I can test slower transfers with? That be nice! Thanks for the tip on /debug and /verbose . I do have...
by Gisle Vanem
Fri Aug 04, 2017 8:37 pm
Forum: Bug report
Topic: ETP-server resets connection
Replies: 7
Views: 7172

Re: ETP-server resets connection

I've also tried using the ftp-client that comes with Windows. It also shows the same problem. I.e. ETP-server does not send a 200 End at the end of all results. Verified with this test-etp.bat file @echo off if %1. == . ( echo Usage: %0: file-spec exit /b ) echo QUOTE USER foo > etp-commands echo QU...
by Gisle Vanem
Fri Aug 04, 2017 11:31 am
Forum: Bug report
Topic: ETP-server resets connection
Replies: 7
Views: 7172

Re: ETP-server resets connection

Thanks for answering. You only have 540 *.exe :D . I've tried with both a higher recv-timeout (10 sec) and 16kByte recv-buffer: DWORD timeout = 100*1000; int rx_size = 16*1024; setsockopt (sock, SOL_SOCKET, SO_RCVTIMEO, (const char*)&timeout, sizeof(timeout)); setsockopt (sock, SOL_SOCKET, SO_RCVBUF...
by Gisle Vanem
Wed Aug 02, 2017 4:20 pm
Forum: Bug report
Topic: ETP-server resets connection
Replies: 7
Views: 7172

ETP-server resets connection

I've integrated ETP-server support in my envtool search program. I find it works fine most of the time, but trying to get a list of all *.exe files on a remote server, the ETP-tranfer gets interrupted. The WSAGetLastError() is 10054 which is WSAECONNRESET I use a command like: envtool.exe --evry --h...
by Gisle Vanem
Tue Jun 20, 2017 3:08 pm
Forum: Bug report
Topic: ETP FOLDER size
Replies: 6
Views: 4579

Re: ETP FOLDER size

Thanks for the information. But that just proved more complex. With this: static time_t FILETIME_to_time_t (const FILETIME *_ft) { SYSTEMTIME st, lt; struct tm tm; if (!FileTimeToSystemTime(_ft,&st) || !SystemTimeToTzSpecificLocalTime(NULL,&st,<)) return (0); memset (&tm, '\0', sizeof(tm)); tm.tm_...
by Gisle Vanem
Tue Jun 20, 2017 9:49 am
Forum: Bug report
Topic: ETP FOLDER size
Replies: 6
Views: 4579

Re: ETP FOLDER size

Ok, that would be a good fix. I have a question on the time-zone. With this DATE_MODIFIED 131401049909872229 , I use this code to convert to a time_t : /* Number of seconds between the beginning of the Windows epoch * (Jan. 1, 1601) and the Unix epoch (Jan. 1, 1970). */ #define DELTA_EPOCH_IN_SEC 11...
by Gisle Vanem
Mon Jun 19, 2017 5:41 pm
Forum: Bug report
Topic: ETP FOLDER size
Replies: 6
Views: 4579

Re: ETP FOLDER size

It seems the value I got; 18446744073709551615
is (unsigned __int64)-1). I assume you have used this value to initialise an unknown folder-size.
(just to differentiate a folder-size of 0 byte). But then forgot to fill in the real folder-size. Or something like that, no?
by Gisle Vanem
Mon Jun 19, 2017 2:22 pm
Forum: Bug report
Topic: ETP FOLDER size
Replies: 6
Views: 4579

ETP FOLDER size

Experimenting with remote queries using the ETP protocol, I've noticed the size reported on a FOLDER, is extremely large. In my case a c:\Windows\Panter\ folder contains 18446744073709551615 bytes. Which is approx. 15 Etta Bytes!! Tested using this test-etp.bat file: @echo off echo USER foo:bar > et...
by Gisle Vanem
Wed Jun 14, 2017 3:38 pm
Forum: Development, plugins and third party software
Topic: Compile error with WINVER=0x0601
Replies: 1
Views: 5043

Compile error with WINVER=0x0601

Compiling everything.c with WINVER=0x0601 (or WIN32_WINNT=0x0601), gives these errors from MSVC-2015: Everything.c(43): warning C4005: 'MSGFLT_ALLOW': macro redefinition f:\ProgramFiler-x86\WindowsKits\Include\10.0.15063.0\um\winuser.h(15076): note: see previous definition of 'MSGFLT_ALLOW' Everythi...
by Gisle Vanem
Wed Jan 06, 2016 10:38 am
Forum: Development, plugins and third party software
Topic: IPC in Everything 1.4
Replies: 6
Views: 19813

Re: IPC in Everything 1.4

Everything IPC is always 32bit (even on 64bit Everything). You mean because the windows handle is always 32-bit? Any reason why you need to know if Everything is 32bit or 64bit? A 32-bit EveryThing can return files in e.g. %SystemRoot%\sysnative which makes little sense to a 64-bit calling program....
by Gisle Vanem
Tue Jan 05, 2016 5:06 pm
Forum: Development, plugins and third party software
Topic: IPC in Everything 1.4
Replies: 6
Views: 19813

Re: IPC in Everything 1.4

It would be nice to have an IPC message to get information on the bitness of EveryThing. I.e. if it is a 32-bit or 64-bit version.
by Gisle Vanem
Wed Jun 03, 2015 10:20 am
Forum: Development, plugins and third party software
Topic: Free resources associated with a search?
Replies: 6
Views: 13575

Re: Free resources associated with a search?

Maybe Everything_Reset() should also call TerminateThread() if the
_Everything_thread_proc() is still alive at that point?
by Gisle Vanem
Mon May 04, 2015 10:38 am
Forum: Development, plugins and third party software
Topic: Envtool - finding duplicated and mis-matches
Replies: 2
Views: 10863

Re: Envtool - finding duplicated and mis-matches

Regarding this EnvTool of mine ( https://github.com/gvanem/EnvTool ) I would like to include some more statistics in my "envtool --version" output. I already have this: Version 0.96 (Visual-C, release, Win32) by Gisle Vanem <gvanem@yahoo.no>. WOW64. Everything search engine ver. 1.3.4.686 (c) David ...