Is it possible to convert a process name to a process id in win32. If so how?

Thanks

processes do not have names; images (executable files) usually have names.

Here is one way to get a list of all running processes. That gives you the PID of each process.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.