title: Compiling C code for the ARM platform to create a Windows Phone 8 compatible DLL?
body: <p>I have an old C code project from MSVC 6 that I have upgraded to Visual Studio 2013.  I want to compile the C code to an ARM compatible DLL that I can PInvoke from a Windows Phone 8 app.  When I go to the Build Configuration dialog, the only platform choice I see is Win32.  How do I set up Visual Studio to compile C code to ARM compatible DLLs?</p>
  
  <p>Advanced Q: how to set things up conveniently so that the code is compiled to x86 code when I run my app on the Emulator, and to ARM code when I run it directly on the phone (Device)?</p>