I am trying to run this with a MS FF2 joystick. fedit.exe confirms the joystick is detected and forces work. I am using the default configuration on win11 with latest .net runtime.
I get this result (both when running the executable directly and from console):
Unable to access window handle. Do not run EDForceFeedback.exe in a console window.
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Journals.Client.Initialize(Settings settings) in F:\workspace\elite\EDForceFeedback\Journals\Client.cs:line 46
at EDForceFeedback.Program.
d__0.MoveNext() in F:\workspace\elite\EDForceFeedback\EDForceFeedback\Program.cs:line 20
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at EDForceFeedback.Program.(String[] _)
I am trying to run this with a MS FF2 joystick. fedit.exe confirms the joystick is detected and forces work. I am using the default configuration on win11 with latest .net runtime.
I get this result (both when running the executable directly and from console):
Unable to access window handle. Do not run EDForceFeedback.exe in a console window.
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
d__0.MoveNext() in F:\workspace\elite\EDForceFeedback\EDForceFeedback\Program.cs:line 20at Journals.Client.Initialize(Settings settings) in F:\workspace\elite\EDForceFeedback\Journals\Client.cs:line 46
at EDForceFeedback.Program.
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at EDForceFeedback.Program.(String[] _)