On 1/31/19 11:44 PM, Fabian Maurer wrote:
- GetModuleFileNameW(NULL, filename, filename_size);
 - PathRemoveFileSpecW(filename);
 ...
- PathAppendW(filename, path);
 - strcatW(filename, str_dll);
 
Not picking at this patch in particular, I think we should consider using PathCch* functions instead, for new code, and maybe gradually get rid of shlwapi dependency when it's not really required.
I don't know what import library situation is there though.