• Status: Solved
  • Priority: Low
  • Security: Public
  • Views: 44
  • Last Modified:

Game's Single Intance bypass

Hello I'm new in VB, I have successfully embedding external application in my form now my problem is the game "Growtopia" have security it can only run in single instance... now I'm looking for an answer that is it can possible I can bypass the game's single instance thing? Hope you can help me.

 Dim p As Process
        Dim matches() As Process = Process.GetProcessesByName("Growtopia")
        If matches.Length = 0 Then
            p = Process.Start("Growtopia")
            p = matches(0)
        End If
        SetParent(p.MainWindowHandle, Panel1.Handle)
        ShowWindow(p.MainWindowHandle, SW_MAXIMIZE)

Open in new window

juvilux jet
juvilux jet
1 Solution
Bill PrewCommented:
There is no single "standard" way that programs use to prevent multiple instances.  Without knowing the technique that Growtopia uses it would be hard to work around it.  

Many programs just check if the same named EXE is already running, and sometimes have multiple copies of the same EXE with different names can work.  Easy to try.

More often though these is something on disk, in the registry, or in memory that is created / set that the EXE will check at startup, and if it determines from that there is already another instance running, the second one will exit.

Doing a quick search you may find some other folks that have solved this problem...

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Managing Security & Risk at the Speed of Business

Gartner Research VP, Neil McDonald & AlgoSec CTO, Prof. Avishai Wool, discuss the business-driven approach to automated security policy management, its benefits and how to align security policy management with business processes to address today's security challenges.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now