I have a DLL that needs to calculate a checksum over
itself every time it is called.

How can I derive the DLL name and location from within the
DLL itself?

Thanks anyone.

Re: Deriving a DLL Location by Igor

Igor
Thu Nov 20 10:15:05 CST 2003

"Jpn Bishop" <anonymous@discussions.microsoft.com> wrote in message
news:00d901c3af7f$7345fda0$a101280a@phx.gbl...
> How can I derive the DLL name and location from within the
> DLL itself?

GetModuleFileName
--
With best wishes,
Igor Tandetnik

"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken