Is there a way to judge by sdk?
Everything_IsDbLoaded or other function?
How to judge the Everything Client to complete initialization?
-
qianw
- Posts: 20
- Joined: Fri Aug 09, 2019 2:29 am
-
void
- Developer
- Posts: 19872
- Joined: Fri Oct 16, 2009 11:31 pm
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);
-
qianw
- Posts: 20
- Joined: Fri Aug 09, 2019 2:29 am
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.
-
qianw
- Posts: 20
- Joined: Fri Aug 09, 2019 2:29 am
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
-
void
- Developer
- Posts: 19872
- Joined: Fri Oct 16, 2009 11:31 pm
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.