Sorry for the late reply was a busy day. Ok I added the code and
Code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Diagnostics;
That took care of my problems for that part, So for the
Code:
return OpenProcess(0x1F0FFF, true, Process.GetProcessesByName(ProcName)[0].Id);
I change it to:
Code:
return OpenProcess(0x1328D54, true, Process.GetProcessesByName(ProcName)[0].Id);
Then to call it with my button I add
Code:
//Sets player title and text
private void button1_Click(object sender, EventArgs e)
{
Memory TitleText = new Memory(textBox1.Text);
}
Right?