Warning with 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
pct
Posts: 24
Joined: Mon Oct 21, 2013 1:44 pm

Warning with SlimDX.dll

Post by pct » Tue Nov 05, 2013 3:37 pm

When we build, we get this warning.

Code: Select all

warning MSB3270: There was a mismatch between the processor architecture of the project being built "x86" and the processor architecture of the reference "SlimDX, Version=4.0.13.43, Culture=neutral, PublicKeyToken=b1b0c32fd1ffe4f9, processorArchitecture=AMD64", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
But we don't want to build with "Any CPU", is there another SlimDX.dll for 32 bits available?





Thank you.

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

Re: Warning with SlimDX.dll

Post by ArctionPasi » Tue Nov 05, 2013 11:59 pm

Delete SlimDX.dll from the folder of your exe. It seems it's 64-bit and thus incompatible with your 32-bit process. Then run it again with x86. Should work.
LightningChart Support Team, PT

pct
Posts: 24
Joined: Mon Oct 21, 2013 1:44 pm

Re: Warning with SlimDX.dll

Post by pct » Mon Nov 18, 2013 7:42 pm

I was looking today at the output window in VS and I saw this. I get this when the application is starting. The application still run fine, nothing crash, but it makes me curious. Is there a log file somewhere that would give more detail about the LightingChart exception?
I assume that LightningChart use SlimDX.

Code: Select all

A first chance exception of type 'SlimDX.Direct3D9.Direct3D9Exception' occurred in SlimDX.dll
A first chance exception of type 'SlimDX.Direct3D9.Direct3D9Exception' occurred in SlimDX.dll
A first chance exception of type 'SlimDX.Direct3D9.Direct3D9Exception' occurred in SlimDX.dll
A first chance exception of type 'Arction.WPF.LightningChartUltimate.ChartException' occurred in Arction.WPF.LightningChartUltimate.dll

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

Re: Warning with SlimDX.dll

Post by ArctionPasi » Mon Nov 18, 2013 7:54 pm

Wait for v.6 with SlimDX removed.
LightningChart Support Team, PT

Post Reply