Unable to access dll's from my personal folder
Hi,
Any one please help me out this,
In my application i am using some third party libraries. My application able to access dll's from system32 directory and from near to exe but i want keep this libraries in one separate folder and access that libraries from that directory. I have tried may ways but not able to access that dll's, Ex: i have used setDlldirectory method and changed registry path etc. And one more thing i don't want to change Environmental variable path value. I am compiling my application in vc++8
Re: Unable to access dll's from my personal folder
- How do you "access dll's"?
Quote:
Originally Posted by harry8potter
Ex: i have used setDlldirectory method and changed registry path etc.
There is now such a "setDlldirectory method". There is the SetDllDirectory (API) function. If you are using it - show the code.
Quote:
Originally Posted by harry8potter
I have tried may ways but not able to access that dll's
Perhaps you tried something... But what and how?
Wouldn't you like to show what and how you tried?
Re: Unable to access dll's from my personal folder
SetDllDirectory() will work, but if the DLL's that you use are all in given directory and other folders which are part of PATH.
So, show us t6hat code and lets then comment about that.