I am trying to convert a C# code (program.cs) into a DLL. This C# code uses another DLL, which is the DLL of DreamCheeky Thunder Missile Launcher. You can get the software from here (just 1 mb) and the installation got this dll.
I created a Class Library Project under Visual Studio 2010 Professional C# category and added this DLL.
As soon as I added it, I got the following warning
Warning 1 There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "USBLib", "x86". 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. MissileLauncher
I am not familiar with windows specific programming, so do you mind letting me know why I am getting this and the solution?
x86orx64and you're trying to build your project forAny CPU. At this point, I recommend to ignore this warning and if you notice some runtime-errors, recbuild your project forx86orx64respectively.