my code is :
Code:
using System;
using System.IO;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
using Magic;
using BlackRain.Common.Objects;
using BlackRain.Common;
using BlackRain.GUI;
namespace wowbeta1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
readonly public Process[] _wowProc = Process.GetProcessesByName("Wow");
private static BlackMagic Memory;
private void button1_Click(object sender, EventArgs e)
{
var wow = _wowProc[0];
int pid = wow.Id;
listBox1.Items.Add("Process id : " + pid);
listBox1.Items.Add("Initialisation ObjectManager");
Memory = new BlackMagic(pid);
ObjectManager.Initialize(pid);
}
}
}
I still have the error ReadUInt failed on ObjectManager.Initialize(pid);
Ps: I use .NET framework 3.5