System.AccessViolationException in SlimDx.dll

Not familiar with licensing? Need help in installing LightningChart Ultimate SDK? User's manual is missing? Post general questions here.

System.AccessViolationException in SlimDx.dll

Postby clamp1981 » Thu Mar 06, 2014 5:20 am

Hi,

winform in the chart to use.
Fill DockStyle the creation of charts and set the chart panel by adding a chart to use
When changing the size of the winform threads occurs or "SlimDX.dll" System.AccessViolationException occurs in.
Trac occurs at the chart in the EndUpdate()
> SlimDX.dll! SlimDX.Direct3D9.Sprite.End () Occurs in

I know information about this error?
clamp1981
 
Posts: 4
Joined: Thu Mar 06, 2014 5:05 am

Re: System.AccessViolationException in SlimDx.dll

Postby ArctionPasi » Thu Mar 06, 2014 3:47 pm

Hello.

Ensure you are using latest 5.5.1 version of LightningChart.

Are you updating the chart from a background thread? If so, remember to use Control.Invoke (WinForms) or Dispatcher.Invoke (WPF) to synchronize the thread method call in UI thread, otherwise it will crash for sure.
LightningChart Support Team, PT
User avatar
ArctionPasi
 
Posts: 1363
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland

Re: System.AccessViolationException in SlimDx.dll

Postby clamp1981 » Fri Mar 07, 2014 12:24 am

Thank you.

I could not think of part of the UI Thread...
Has been resolved. :D
clamp1981
 
Posts: 4
Joined: Thu Mar 06, 2014 5:05 am


Return to LightningChart General Q&A

Who is online

Users browsing this forum: No registered users and 1 guest

cron