Is there a way to judge by sdk?
Everything_IsDbLoaded or other function?
How to judge the Everything Client to complete initialization?
Re: How to judge the Everything Client to complete initialization?
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?
Thanks,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);
Everything_IsDBLoaded() is like this.
Re: How to judge the Everything Client to complete initialization?
I use follow command line to run Everything Client,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);
Code: Select all
Everything.exe -startup
Re: How to judge the Everything Client to complete initialization?
No, you will need to use the -startup command line option to start Everything in the background.