Tech Off Thread

4 posts

Executing an .exe from Windows Phone 8

Back to Forum: Tech Off
  • User profile image
    milindvk

    Hi,

    I am trying to evaluate of running .exe from Windows Phone 8. Is it possible? Here is what I am trying to do:

    - Add simple hello world application hello_world.exe

    - Copy it to SD card and execute.

    Question that I have is, whether I will be able to display/open window and display "hello world" string on screen by executing this?

    If not how can I achieve this? Is there any sample native app that does this in the SDK?

  • User profile image
    cheong

    No. It won't run for two reasons.

    1) WP8 is a ARM device and doesn't use x86/x64 compatible CPU, so it can't understand the normal .EXE file. (WP8 App file comes with extension .APPX)

    2) Unless your phone is connected to a Live account that has active developer license (hence unlocked), it won't run applications that's not signed with Microsoft's special e-cert.

    Writing native application for WP8 is possible, just download the SDK here and have fun.

    Recent Achievement unlocked: Code Avenger Tier 4/6: You see dead program. A lot!
    Last modified
  • User profile image
    milindvk

    Thanks for the quick response. Yes I read about creating native application. Based on my readings I understood that, there is need to create Windows run time component (which is a DLL) which wraps the native API call such as GlobalMemoryStatusEx(). 

    Is there a list of native APIs that we can access?

     

  • User profile image
    cheong

    @milindvk:The online MSDN documentation has updated to include "Supported on Windows Phone 8" APIs.

    Recent Achievement unlocked: Code Avenger Tier 4/6: You see dead program. A lot!
    Last modified

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.