D
DaZoner
I'm deploying a Ruby app on Windows that has a number of C extensions that
call a DLL. I've written an install program that copies all necessary files
(Program.rb) to a directory (C:\Directory).
If I run Program from within C:\Directory everything works fine. If I run it
via full pathname from a different directory the DLL is not found. I can get
it to work if I make C:\Directory part of my path but I want to avoid this
if possible. I've tried adding C:\Program to $: but this doesn't do it. What
programmatic steps can I take to get the DLL to be found?
call a DLL. I've written an install program that copies all necessary files
(Program.rb) to a directory (C:\Directory).
If I run Program from within C:\Directory everything works fine. If I run it
via full pathname from a different directory the DLL is not found. I can get
it to work if I make C:\Directory part of my path but I want to avoid this
if possible. I've tried adding C:\Program to $: but this doesn't do it. What
programmatic steps can I take to get the DLL to be found?