Jump to content

Argument at c# starter


Recommended Posts

Hello guys,
i created a starter, but im having a problem. My .exe has argument. For example: 

if (strstr(lpCmdLine, "--binissafe") == 0)
		return 0;

What should i write to my  starter button, so it should open properly the .exe?

I used process.start and system.diagnostics.process.start but when it asks me to run the .exe as admin or not after that nothing happens. It doesnt open the .exe.

Anyone can help me?

The code of my starter now:

        Process.Start("metin2client.exe", "--binissafe")
        Close()

 

Thanks for your time.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 0

      Metin2 effect script files (MSE and MSA file) how can convert

    2. 10

      Multi Language System

    3. 0

      We are looking for a C++ and Python programmer

    4. 0

      [Quest Scheduler Request] Is there a way to make a quest run independet of player events? Lets say start quest automatically at server startup?

    5. 111

      Ulthar SF V2 (TMP4 Base)

    6. 0

      Quest function when 102.kill definition whereabouts help

    7. 5

      [M2 FILTER] Customized Client Filter

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.