Windows : supporting DLL search path

   2555   1   0
User Avatar
Member
301 posts
Joined: July 2005
Offline
Hi,

I am building a custom SOP and it requires some supporting DLL.

Where are the recommended location for putting these supporting DLL ?

I tried putting them together with the SOP in <path>/dso/ but Houdini was able to find the SOP but not the supporting DLL and hence the custom SOP fails to load.

I want to avoid asking users to edit their %PATH% variable if possible and also want to avoid putting the supporting DLL in system directory (which I have to clean up when user uninstall the custom SOP).

So I am wondering if there is a best practice for deploying custom SOP to end users.

My last option is to link a static version of the library hence freeing me from solving this problem but the static build is playing up so for now, I have to consider the DLL path approach.

Regards
Nicholas Yue
User Avatar
Member
8095 posts
Joined: July 2005
Offline
Unfortunately, there's little choice on Windows. I think your choices are:
- Modify PATH, or
- Install it into someplace that is already in PATH, or
- Install it into the directory from which your executable is run (ie. $HB)
  • Quick Links