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.

Moderator: Queue Moderators

Post Reply
clamp1981
Posts: 4
Joined: Thu Mar 06, 2014 5:05 am

System.AccessViolationException in SlimDx.dll

Post by 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?

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: System.AccessViolationException in SlimDx.dll

Post by 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

clamp1981
Posts: 4
Joined: Thu Mar 06, 2014 5:05 am

Re: System.AccessViolationException in SlimDx.dll

Post by clamp1981 » Fri Mar 07, 2014 12:24 am

Thank you.

I could not think of part of the UI Thread...
Has been resolved. :D

Post Reply