locked
Can't compile MFC app for Arm Platform

    General discussion

  • I was able to compile and run MFC app on ARM platform, using VS beta & CP version of Windows.

    When  I moved to RC version of Windows 8 & VS12 I discovered that is option is blocked.

    Why did that happen and can this be changed/patched? I need MFC app for arm platform.

    Thanks.

    Monday, July 9, 2012 5:19 AM

All replies

  • Hi Evgeny,

      I'm not from MSFT but let me try an answer.. MFC is intended to be desktop only (so Win8 Pro : x86 and x64) technology.

    To target ARM platform you would have to use XAML in combination of C++ or C#, or HTML5/JS, and create a Metro Style App.

    The same comment can be done for drivers on ARM platform : the 'target' still exists in VS 2012RC, but doesn't do much (I guess it works in MSFT private versions of VS2012..).

    Regards,

    Julien


    Julien Racle

    Monday, July 9, 2012 2:29 PM
  • Julien,

    Even that I can see the logic of removing support for desktop apps, still it is very helpfull for a lot of HW developers (that GUI is not main purpose) to allow using their test applications and not to make them to re-write everything - this is what happes to me with last version. :-( That's why I'm looking the way to remove unplanned work (and it is a lot of work).

    On the other issue: what do you mean by "same comment can be done for drivers on ARM platform : the 'target' still exists in VS 2012RC, but doesn't do much "?

    I can't compile drivers from VS12RC? So how I'm supposed to write and debug UMDF drivers?

    And it is very usefull to compile from VS even KMDF drivers.

    Evgeny

    Monday, July 9, 2012 3:12 PM
  • Hi Evgeny,

      sure I understand your point.. unfortunately, if you want to target ARM platform, at least for now, only "metro" development (i.e. through Windows Runtime APIs only) is possible..

      sorry if I mislead you with my other remark : I meant that for ARM (and for now, I hope it'll change later on), there is an ARM "target" (=compiler option) in driver (user or kernel ones) projects. However, if you try to build your driver project with VS 2012RC it'll complain that build script is missing (or sth like that). Reason is that driver development is only limited to the version internal to MSFT (I bet they do have one in which they can build for ARM. They seemed to have removed bits of VS2012RC the hard way to prevent us using it). We thus are not allowed to develop drivers targetting ARM tablets... only apps for the moment!

    Regards


    Julien Racle

    Monday, July 9, 2012 8:18 PM