views:

48

answers:

3

I'm building an application that's a host of various other applications (of sorts). One of the features I wanted to try and achieve was the possibility of running Windows Mobile applications. I know an emulator can be downloaded from MSDN but everything suggests it is only really for testing Mobile apps.

Would it be a possibility to start and control the emulator in a child window of my own application using .net?

+1  A: 

The WinMo emulator is really Device Emulator (though a newer version), which is rooted in Virtual PC. You might look at the Device Emulator source (even older, but it might give some hints as to how it's hosted), but my guess is that you're going to have to hack it, finding the emulator's host window and reparenting it. You can change it's skin, which might also be useful.

ctacke
+1 thanks, I was aware of the skinning part and I was thinking this might be an option. Controlling it (starting applications) is rather a large part of what I want to do.
Andy E
A: 

What kind of application do you want to run?

.NET Compact Framework apps will run on the .NET Desktop Framework.

Here's an example of an app compiled against the .NET CF. First image is it running on the emulator, second is running on the desktop framework directly.

alt text

alt text

Cheeso
The apps wouldn't be coded by me, unfortunately. I was hoping that users could run their purchased third party apps in the application.
Andy E
Then why not use the emulator?
Cheeso
+1  A: 

You can control the Device Emulator program via a COM interface. See here for more information.

Trevor Balcom