fix blue screen issue under windows
fix blue screen issue under windows

> https://msdn.microsoft.com/en-us/library/windows/desktop/ms683196%28v=vs.85%29.aspx

> To retrieve the base name of the main executable module for a remote process,
> use the GetProcessImageFileName or QueryFullProcessImageName function to
> retrieve the module name and then use the strrchr function as described
> in the previous paragraph. This is more efficient and more reliable than
> calling GetModuleBaseName with a NULL module handle.

lucius-feng/seafile-client,daodaoliang/seafile-client,lucius-feng/seafile-client,lucius-feng/seafile-client,haiwen/seafile-client,losingle/seafile-client,losingle/seafile-client,wgaalves/seafile-client,wgaalves/seafile-client,losingle/seafile-client,daodaoliang/seafile-client,wgaalves/seafile-client,lucius-feng/seafile-client,haiwen/seafile-client,haiwen/seafile-client,wgaalves/seafile-client,daodaoliang/seafile-client,haiwen/seafile-client,losingle/seafile-client,daodaoliang/seafile-client