Link to home
Start Free TrialLog in
Avatar of Kapusta
Kapusta

asked on

Detect program names currently running?

Using Delphi 1 (preferably) is there code available that would enable my application to detect the names of the programs currently running in memory?  (Preferably the text that appears in the program's title bar.)

Avatar of d003303
d003303

See
https://www.experts-exchange.com/topics/comp/lang/delphi/Q.10042477
Cost only 1 point with an excellent answer from inter.

Slash/d003303
Wow,
Thanks for your compliment friend,
Igor
Avatar of Kapusta

ASKER

Slash,

Yes, you are correct.  The example was excellent.  Thank you "inter/Igor" also.

ASKER CERTIFIED SOLUTION
Avatar of jannes
jannes

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi, TOOLHELP is fine but it sadly does not work on NT.
Regards, Igor
Avatar of Kapusta

ASKER

>> TOOLHELP is fine but it sadly does not work on NT.


Will it work with Delphi 2/3 under Win 95/98?
Yes,
check your system32 dir for toolhelp32.dll(or something like that)
Igor
Avatar of Kapusta

ASKER


>> check your system32 dir for toolhelp32.dll(or something like that)

Are you saying that TOOLHELP and TOOLHELP32 are both DLLs?   I just assumed that TOOLHELP was a PAS file somewhere in the search path.   If these TOOLHELPs are DLLs, then that must mean I must distribute this DLL with my application?  No?
Hi friends,
NO. do not worry, toolhelp is a DLL library which is a common system component for Win95(if Microsoft will not suprise use).  ToolHelp.pas is and interface unit to that dynamic link library. You do not need to distribute it. In the current situation if one has Win95 and does not have that library thatll be weird. So use it do not worry.
Regards, Igor