juvilux jet
asked on
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.WaitForInputIdle()
Else
p = matches(0)
End If
SetParent(p.MainWindowHandle, Panel1.Handle)
ShowWindow(p.MainWindowHandle, SW_MAXIMIZE)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.