afaik we can specify absolute path in LoadLibrary function. If it isn&#x27;t, yes, LoadLibrary will use cwd relative by default -- which is dangerous for non-installed program. This is okay for installed program since you need additional privilege to alter Program Files directory.