Jump to content
  • Advertisement
Sign in to follow this  
Hell4Ge

[C++] How to change process name?

This topic is 2538 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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

Win7 Ult x64


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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!