-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.ArgumentOutOfRangeException was unhandled by user code #53
Comments
What operating system please? Is this for Windows? |
Windows Currently just a form with a button on it. 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.Threading;
using System.Windows.Forms;
using FMScoutFramework.Core;
using FMScoutFramework.Core.Entities.InGame;
using System.Diagnostics;
namespace FMScoutiee
{
public partial class Form1 : Form
{
public FMCore fmCore = new FMCore(FMScoutFramework.Core.Entities.DatabaseModeEnum.Realtime);
public Form1()
{
InitializeComponent();
}
private void loadData_Click(object sender, EventArgs e)
{
fmCore.GameLoaded += new Action(GameLoaded);
new Action(() => fmCore.LoadData()).BeginInvoke((s) => { }, null);
}
public void GameLoaded()
{
Debug.WriteLine("Load Done");
}
}
} |
Any idea ThanosSiopoudis? |
@SeeInSeeOut it is most likely an incompatibility in the framework with the version you are using. Is it from Steam? |
Yes its from Steam. 15.3.2 627042 (m.e v1555) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'd used this framework when it was originally released, and come across some work I'd done in 2009 on an old hard drive....so pleased to see the framework is still being developed!
I read through the readme to try make this work with FM 2015 (v15.3.2) however I'm experiencing an error when just having a button to load data on a form.
Using visual studio 2015 Ent.
The text was updated successfully, but these errors were encountered: