Jump to content

Start client with argument


Recommended Posts

Hey.
 

I have a problem with my code.

How can i make a messagebox to add "start only about the patcher"

if (strstr(lpCmdLine, "--open-client") == 0)
    MessageBox(NULL, "Run the Patcher", "Metin2", MB_ICONSTOP);
      return 0;

thats my code at the moment

when i click on the binary the message comes but when i start the client about the argument nothing happend

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.