Sign in to follow this  
Hell4Ge

[C++] How to change process name?

Recommended Posts

Yup

I am working on program to make multi instances of some game, I think i need to change process name to do it :)

Share this post


Link to post
Share on other sites
C++ has no notion of process names. Some specific operating systems do. If you mention which one you're using it would probably help.

Share this post


Link to post
Share on other sites
[quote name='Hell4Ge' timestamp='1310905515' post='4836348']
Win7 Ult x64
[/quote]

then use the HINSTANCE params, if you are using a Console app, then look for a tutorial on attaching a Console.
you are handed two HINSTANCE'es, the current instance, and the previuse instance.

Share this post


Link to post
Share on other sites
I think you can't change the process name through the api without changing the filename. If you explain some more about your working program then it is too easy to tell you.

Share this post


Link to post
Share on other sites
What do you mean by process name? Do you mean the title of the application in the task bar, or the title seen in task manager process list / process explorer?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this