Getting the path name of a loaded object.
I need to create some VB6 code in a dll that will return the pathname of the current dll being used. I have tried using the function CurDir but it only returns the pathname of the calling application.
Example: If my object is named MyObject.dll I want to know the pathname to itusing code in it. The only variables that the code would receive is the name of the file only. No Path, no drive etc.
Any Ideas
Thanks in advance
|