Page 1 of 1

How to judge the Everything Client to complete initialization?

Posted: Wed Sep 04, 2019 6:32 am
by qianw
Is there a way to judge by sdk?
Everything_IsDbLoaded or other function?

Re: How to judge the Everything Client to complete initialization?

Posted: Wed Sep 04, 2019 8:19 am
by void
Please try the Everything IPC EVERYTHING_IPC_IS_DB_LOADED call.

Code: Select all

HWND everything_hwnd = FindWindow(EVERYTHING_IPC_WNDCLASS,0);
int is_db_loaded = (int)SendMessage(everything_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_DB_LOADED,0); 

Re: How to judge the Everything Client to complete initialization?

Posted: Wed Sep 04, 2019 8:59 am
by qianw
void wrote: Wed Sep 04, 2019 8:19 am Please try the Everything IPC EVERYTHING_IPC_IS_DB_LOADED call.

Code: Select all

HWND everything_hwnd = FindWindow(EVERYTHING_IPC_WNDCLASS,0);
int is_db_loaded = (int)SendMessage(everything_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_DB_LOADED,0); 
Thanks,
Everything_IsDBLoaded() is like this.

Re: How to judge the Everything Client to complete initialization?

Posted: Wed Sep 04, 2019 10:09 am
by qianw
void wrote: Wed Sep 04, 2019 8:19 am Please try the Everything IPC EVERYTHING_IPC_IS_DB_LOADED call.

Code: Select all

HWND everything_hwnd = FindWindow(EVERYTHING_IPC_WNDCLASS,0);
int is_db_loaded = (int)SendMessage(everything_hwnd,EVERYTHING_WM_IPC,EVERYTHING_IPC_IS_DB_LOADED,0); 
I use follow command line to run Everything Client,

Code: Select all

Everything.exe -startup
the Everything Client cound run in the background. Can I modify the Everything.ini instead of using "-startup".

Re: How to judge the Everything Client to complete initialization?

Posted: Wed Sep 04, 2019 10:18 am
by void
No, you will need to use the -startup command line option to start Everything in the background.