Hello everyone! I'm learning how to make my program auto inject file "bypass.dll" to "MapleStory.exe" program which is current running.I had try to make my program auto run file "winject.exe", but i don't know how to make winject.exe auto inject file "bypass.dll" then auto close after inject complete. Is there have other way to do it?
Here is my code:
private void OnStartButton(object sender, EventArgs e)
{
LaunchMaple();
}
public void LaunchMaple()
{
Maple = new Process();
Maple.StartInfo.FileName = Properties.Settings.Default.launchpath;
if (Mode == MapleMode.GMS)
Maple.StartInfo.Arguments = "GameLaunching";
Maple.Start();
if (!is64bit())
{
Process.Start(TempFolder + "winject.exe");
}
}