Pre loader

How to use DirectX

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

Hi,

I use your library. and I want to use directX.

but when I open a page using this(following your article),
[http://support.scichart.com/index.php?/Knowledgebase/Article/View/17261/0/high-quality-vs-high-speed-vs-directx-renderer-plugins]

I saw a error message and my program was terminated…

Error is,

Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: myprogram.exe
Problem Signature 02: 1.0.0.0
Problem Signature 03: 5b88a1cf
Problem Signature 04: SharpDX.D3DCompiler
Problem Signature 05: 4.0.1.0
Problem Signature 06: 592da5b5
Problem Signature 07: 2e
Problem Signature 08: c8
Problem Signature 09: System.DllNotFoundException
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: 0d9f
Additional Information 2: 0d9f788f3d877e9bf9dd1ced0a063406
Additional Information 3: f3e4
Additional Information 4: f3e4c83f74a923e37478f9aa84b2c268

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt

but I imported that in my project.

and Debug or Release folder has that dll.

This problem occured on another computer…(installed directX driver/ OS is Win7)

My development PC is fine.(Win10)

Why is it??

Please tell me awesome solution…

Version
v5.1.0.11299
  • You must to post comments
0
0

Hi there,

Looking at the error message it seems you are missing the DLL SharpDX.D3DCompiler?

If you reference SciChart.DirectX.dll then you will also need the following DLLs as dependencies:

  1. SharpDX v4.0.1
  2. SharpDX.Direct3D11 v4.0.1
  3. SharpDX.Direct3D11.Effects v4.0.1
  4. SharpDX.Direct3D9 v4.0.1
  5. SharpDX.DXGI v4.0.1
  6. SharpDX.D3DCompiler v4.0.1
  7. SharpDX.Mathematics v4.0.1

The easiest way to do this is to reference SciChart.DirectX from NuGet.

Also, please have a look at Creating and Deploying Applications with the Direct3D11RenderSurface. It is important that the native libraries are included with SciChart.DirectX.dll else the application will fail to work.

  • CholJin Ko
    Unfortunately, In my project, I reference all dlls you said. but I installed Visual Studio 2017 community because of debugging. Suddenly, this issue has been resolved.. but I don’t know why. I think that it should install something. Can you tell me requirements to install? (current, My test PC is installed .net framework 4.5/directX)
  • Andrew Burnett-Thompson
    I unfortunately don’t know why it suddenly worked for you. I can say that SciChart v5.x depends on .NET Framework 4.5 or above and SciChart.DirectX depends on SharpDX.x v4.0.1. SharpDX.D3DCompiler probably depends on D3DCompiler_47.dll which should be shipped as a pre-requisite with Windows 7 and above and found in C:/System32 directory. Maybe it was that … You can try by searching that DLL in System32 and temporarily removing it, does the problem come back? If so then you’ll need to ensure all target PC’s have the right DLL (They should by default but … nothing stops someone removing it)
  • You must to post comments
0
0

Hi, Andrew.

Thank you very much for your answer.

My problem was not to have D3DCompiler_47.dll in my computer.

I solved this problem last time.

But… After updating SciChart (v5.1.1.11505), It doesn’t work…(terminated..)

Dose new version depend on other library in system folder??

My computer is not updated windows.

Please let me know required dll’s.

  • Andrew Burnett-Thompson
    Hi there, it should just work. D3DCompiler_47 is included in SciChart.Charting3D.dll as a dependency. I will ask the team to check our dependencies.
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies