Displaying DLL entry points

D

DaveQ

Is ther a program to dislpay the entry poins of a dll. I
am trying to get the process status api to work. I include
psapi.h in the program and it compiles and links but a
runtime the program indicates that the procedure entry
point GetProcessImageFileNameA could not be located in the
dynamic lnk library PSAPI.DLL --

Any thoughts?
 
J

Jeff Henkels

dumpbin /exports <yourdll> will show the exported entry points. Note that
according to the MSDN documentation, GetProcessImageFileName is available
only on XP and Windows Server 2003. If you're not on one of those
platforms, you can't use it.
 
D

DaveQ

Thanks Jeff,

My development system is XP and the target is 2000
Professional. I'll have to use a different method to get
the info.

Thanks again.

-----Original Message-----
dumpbin /exports <yourdll> will show the exported entry points. Note that
according to the MSDN documentation,
GetProcessImageFileName is available
 
J

Jeff Fry

Jeff Henkels said:
dumpbin /exports <yourdll> will show the exported entry points. Note that
according to the MSDN documentation, GetProcessImageFileName is available
only on XP and Windows Server 2003. If you're not on one of those
platforms, you can't use it.

Because GetProcessImageFileName is not available on Windows 2000, can
you tell me another way to get this information? I am also trying to
use GetPerformanceInfo and that doesn't work either.

Any help would be greatly appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top