Jump to content
  • Advertisement
Sign in to follow this  
Fish Fishes

DLL path+filename

This topic is 4772 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How to get DLLs' path & filename? I'm having exe. And I'm loading a dll in it (like plugins). How to get dll's pathname from dll? I just know how to get filename: GetModuleFileName().

Share this post


Link to post
Share on other sites
Advertisement
GetModuleFileName() should give you the entire path and file name.
It might return a path relative the current directory, use GetCurrentDirectory() in that case.

Share this post


Link to post
Share on other sites
GetModuleFilename() SHOULD give you the path to the module, not just the filename. perhaps the path is relative to the current dir? in that case, _splitpath, _makepath and GetCurrentDirectory might be your friend?

edit: sorry about the repetition, i kinda cheked out the post and went for lunch ;)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!