I'm working on making a CCAPI tool for a game, however when I try to connect, I get an error, "(Exception from HRESULT: 0x8007000B)" This is my setup
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using PS3Lib;
namespace PS3
{
public partial class Form1 : Form
{
private Random Rand;
private CCAPI PS3 = new CCAPI();
public Form1()
{
Rand = new Random();
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
if (PS3.SUCCESS(PS3.ConnectTarget(IPBOX.Text)))
{
MessageBox.Show("Connected !", "Success", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
PS3.Notify(CCAPI.NotifyIcon.FRIEND, "You Are Connected!");
}
else
{
MessageBox.Show("Impossible to connect", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
}
}
I'm not even getting to the "Error Impossible to connect" box, it just goes straight to an Exception error :(
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using PS3Lib;
namespace PS3
{
public partial class Form1 : Form
{
private Random Rand;
private CCAPI PS3 = new CCAPI();
public Form1()
{
Rand = new Random();
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
if (PS3.SUCCESS(PS3.ConnectTarget(IPBOX.Text)))
{
MessageBox.Show("Connected !", "Success", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
PS3.Notify(CCAPI.NotifyIcon.FRIEND, "You Are Connected!");
}
else
{
MessageBox.Show("Impossible to connect", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
}
}
I'm not even getting to the "Error Impossible to connect" box, it just goes straight to an Exception error :(