Unable to access dll's from my personal folder
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Unable to access dll's from my personal folder

  1. #1
    Join Date
    Sep 2010
    Posts
    1

    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

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,011

    Re: Unable to access dll's from my personal folder

    1. How do you "access dll's"?
    2. 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.
    3. 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?
    Victor Nijegorodov

  3. #3
    Join Date
    Aug 1999
    Location
    <Classified>
    Posts
    6,882

    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.
    Regards,
    Ramkrishna Pawar

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center