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

    FindExecutable for dll's


    Is there a win32 or other function that allows me to specify a dll and have it
    find the first matching one in the path. Kinda a FindExecutable function for
    dlls instead of .exes. I found several versions of "which.exe" on the network
    that does this, but none of them has source.

    Thanks,
    --Bruce, II


  2. #2
    Join Date
    May 1999
    Posts
    69

    Re: FindExecutable for dll's

    Have a look at the SearchPath API within the Win32 SDK. This should do what you want


  3. #3
    Join Date
    Jun 1999
    Posts
    3

    Re: FindExecutable for dll's

    use GetModuleFileName();


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