I'm trying to get the sample app running in VS 2008 express.
I get the following compile error
Error 2 The type or namespace name 'Class1' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\wmanningie\Local Settings\Application Data\Temporary Projects\aimbot\aimBotSample.cs 24 24 aimbot
here is my code
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AccCoreLib;
using System.Drawing;
using System.Collections;
using System.IO;
using System.Net;
using System.Windows.Forms;
using System.Runtime.InteropServices;
namespace accbot
{
class aimBotSample : Control
{
[DllImport("acccore.dll", EntryPoint="#111", PreserveSig=false)]
private static extern void AccCreateSession(
[MarshalAs(UnmanagedType.LPStruct)] Guid riid,
[MarshalAs(UnmanagedType.IDispatch)] out object session);
private static Class1 a;
private AccSession s;
[STAThread]
static void Main(string[] args)
{
if (args.Length != 2)
{
Console.WriteLine("usage: accBotSample screenname password");
return;
}
a = new aimBotSample();
a.Run(args[0], args[1]);
}
private void Run(string username, string password)
{
}
}
}

Typo: you renamed your "Class1" to "aimBotSample"
Change line private static Class1 a; to private static aimBotSample a;.