Without any obvious code of config change lightning charts has stopped running in my winforms solution.
Even a new project in the same solution fails with this error:
In a new solution the I don't get the error.
I've got no idea what happening:
SharpDX.SharpDXException: 'HRESULT: [0x887A0004], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_UNSUPPORTED/Unsupported], Message: The specified device interface or feature level is not supported on this system.
i've created two new winforms projects on ein the old solution one in a new and installed the latest lightning charts via nuget, and added the following to the generated code:
```
using Arction.WinForms.Charting;
using Arction.WinForms.Charting.SeriesXY;
using Arction.WinForms.Charting.Views.ViewXY;
namespace Monitor
{
public partial class Form1 : Form
{
protected LightningChart _chart;
public Form1()
{
InitializeComponent();
_chart = new LightningChart();
_chart.BeginUpdate();
_chart.Visible = true;
_chart.Parent = this;
_chart.Dock = DockStyle.Fill;
_chart.Visible = true;
_chart.EndUpdate();
}
}
}
```
in the new solution this runs fine, in the old solution it crashes as above.
what on earth is going on?
SharpDX.SharpDXException when creating a chart in code
Moderator: Queue Moderators
Re: SharpDX.SharpDXException when creating a chart in code
after a horrible day,
I committed my code,
cloned it again from git to a new directory
now it works
no idea why
maybe i'll diff the folders again in the morning
I committed my code,
cloned it again from git to a new directory
now it works
no idea why
maybe i'll diff the folders again in the morning
-
- Posts: 557
- Joined: Mon Mar 14, 2016 9:22 am