Page 1 of 1

Warning with SlimDX.dll

PostPosted: Tue Nov 05, 2013 3:37 pm
by pct
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.

Re: Warning with SlimDX.dll

PostPosted: Tue Nov 05, 2013 11:59 pm
by ArctionPasi
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.

Re: Warning with SlimDX.dll

PostPosted: Mon Nov 18, 2013 7:42 pm
by pct
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

Re: Warning with SlimDX.dll

PostPosted: Mon Nov 18, 2013 7:54 pm
by ArctionPasi
Wait for v.6 with SlimDX removed.