Get DLL's directory

Posted by user296359 on Stack Overflow See other posts from Stack Overflow or by user296359
Published on 2010-04-07T02:25:57Z Indexed on 2010/04/07 2:53 UTC
Read the original article Hit count: 172

Filed under:
|
|
|

Hi,

I have a question about getting DLL's directory on Windows system.

The situation is like this :

I have a DLL and an EXE file. The exe file must load the DLL to run. These 2 modules are in different directories. Moreover, the directory of the DLL is changeable. Now I have to get the directory of the DLL in "run time".

How could I do this?

Thanks in advance.

© Stack Overflow or respective owner

Related posts about directory

Related posts about Windows