CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    May 2010
    Posts
    2

    Shared library path

    How to retrieve the path of a shared library that was loaded using System.loadLibrary?

  2. #2
    Join Date
    Jun 2007
    Location
    Aurora CO USA
    Posts
    137

    Re: Shared library path

    Hmmm. You already got an answer here. Maybe you should tell us what you're trying to accomplish (i.e. why would you need the path?) and see it you are going about things the right way.

  3. #3
    Join Date
    Jun 1999
    Location
    Eastern Florida
    Posts
    3,877

    Re: Shared library path

    The doc for loadLibrary says: "The manner in which a library name is mapped to the actual system library is system dependent." Looks like you'd need to get the path that the OS uses and do a file search on that
    Norm

  4. #4
    Join Date
    Jun 2007
    Location
    Aurora CO USA
    Posts
    137

    Re: Shared library path

    Quote Originally Posted by Norm View Post
    The doc for loadLibrary says: "The manner in which a library name is mapped to the actual system library is system dependent." Looks like you'd need to get the path that the OS uses and do a file search on that
    Yup, that's pretty much what they told the OP in the other thread I mentioned as well. That's why I said he needs to describe what he wants to do. Usually if you can
    t access something, there's a reason for it.

  5. #5
    Join Date
    May 2010
    Posts
    2

    Re: Shared library path

    Thank you all for your time.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured