Displaying DLL entry points

  • Thread starter Thread starter DaveQ
  • Start date Start date
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?
 
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.
 
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
 
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.
 
Back
Top