Converting applications - Windows Mobile Software Development

How could I convert non pocket pc application
into pocket pc application? Is there any software
to do that? Is is very frustrating that those application
works on desktop pc but not on pocket pc. can
anyone help here. thanks.

You could try to write a i386 virtual machine for PocketPC, and install a Windows (98, 2k, XP) on that virtual machine.
Sorry, just kidding :lol: . No, actually you can't run a PC binary on a PPC. If you have the source code than you can compile it for PPC, if there aren't unsuported features inthe code (usually there are so you have to change the code). It's usually hard work to port an application that was written without thinking of porting it (does the Bridge pattern ring a bell? :wink: )

Related

rom update in Vista

Hi everybody:
I recently started to use a PC with Vista. No activesync but instead WMDC exists. There is no problem in sync.ing with PPC but RUU does not work as expected.
I wonder if there is anyone else who successfully run RUU under vista and flush a new rom to the wizard..
I tried to apply the steps explained in this tread (which is for Hermes) : http://forum.xda-developers.com/showthread.php?t=299462 but I failed. RUU starts, then PPC starts in boot loader mode, after that the RUU hangs with an error...
Any advice, solution etc will be greatly appreciated.
Cheers,
Orhan.
did you try mobilty ceter
i think windows vista uses mobilty ceter not active sync
JIMBABY said:
i think windows vista uses mobilty ceter not active sync
Click to expand...
Click to collapse
he said that...that is WMDC...Windows Mobile Device Center...
Hi,
I will give a try to VMWare (virtual machine) and setup a virtual machine running XP under vista.. Hope it will work ... will report the result to the forum....
Orhan
killacam13 said:
he said that...that is WMDC...Windows Mobile Device Center...
Click to expand...
Click to collapse
I have used VMWare to update the ROM and it works without problems
it worked flawlessly!!
it worked flawlessly !!!!
1) install VMWare (http://www.vmware.com/download/ws/), 2) add a virtual machine in VMWare, 3) install Windows XP to that virtual machine (I used a 2GByte disk space for the xp virtual partitation), 4) Install activesync 4.5 ,
the rest is straight forward as you know
-orhan
orhtr said:
Hi,
I will give a try to VMWare (virtual machine) and setup a virtual machine running XP under vista.. Hope it will work ... will report the result to the forum....
Orhan
Click to expand...
Click to collapse
Yes, VMware works flawlessly on my vista x64... I've flashed ppc several times using XP virual machine and without any problem, but don't forget to disable usb connection on WMDC - else the RUU may cause an error in bootloader mode as it happened to me
Easier way?
So your saying this is the easiest way? There has to be an easier way to flash on vista.
i also use a virtual machine...its called Parallels Workstation...all vista users stick with a vitual machine...it is the easiest way so far...unless u just want the OS then just use ShellTools
Step By Step
Can somebody explain step by step how dos it work.Thank you.
dido said:
Can somebody explain step by step how dos it work.Thank you.
Click to expand...
Click to collapse
I'm not sure exactly what "it" is referring to, but if you are talking about how to install a VMWare workstation and create an image, there are plenty of helps online already to explain that. Just Google it. If you are referring to how to do the ROM update once you get into your virtual machine, it's pretty straight forward. You just plug in your USB cable from your cradle (when the Axim is on it) and the virtual machine will install it just as if you were running Windows XP natively on your machine. Again, there are lots of helps out there if you Google it.
htc prophet
1. installed vmware - xp pro
2. installed active sync 4.5
3. WMDC usb bypass
4. VM menu - REMOVABLE DEVICES - USB DEVICES - High tech computer usb device
5. nothing
just curious, but will this work with microsoft virtual pc instead of vmware? will probably test it myself when i next flash a new rom, but figured it was worth asking here...
monkey_knight said:
just curious, but will this work with microsoft virtual pc instead of vmware? will probably test it myself when i next flash a new rom, but figured it was worth asking here...
Click to expand...
Click to collapse
Yes, it should work just fine. It's the same concept either program you use.
I think that microsoft virtual pc 2007 doesn't support USB connections, so it won't work with it.
Jimm98y said:
I think that microsoft virtual pc 2007 doesn't support USB connections, so it won't work with it.
Click to expand...
Click to collapse
Oh really? Well why the heck would Microsoft do that (remove USB connection support)?
cavyman said:
Oh really? Well why the heck would Microsoft do that (remove USB connection support)?
Click to expand...
Click to collapse
hmmm...that would suck...though it does seem like virtual pc is a bit limited in it's hardware setup for a virtual system. if it doesn't work, i guess i'll have to try vmware...assuming it's free as well.
thx for the tips
monkey_knight said:
hmmm...that would suck...though it does seem like virtual pc is a bit limited in it's hardware setup for a virtual system. if it doesn't work, i guess i'll have to try vmware...assuming it's free as well.
thx for the tips
Click to expand...
Click to collapse
VMWare Player is free, but you would have to obtain a VMWare image somehow to use it. Otherwise, to create a VMWare image, you have to get VMWare Workstation which is gonna cost you.
yup...confirmed that virtual pc doesn't work...doesn't pick up connection (kinda sucks...since it was a free program)...
monkey_knight said:
yup...confirmed that virtual pc doesn't work...doesn't pick up connection (kinda sucks...since it was a free program)...
Click to expand...
Click to collapse
Well, it is a M$ product...free isn't really part of their vocabulary.

Pocket pc emulator for win 2003???

IS there virtual pocket pc emulator that can be used on regular PC?
http://www.microsoft.com/downloads/...f231-4a64-a648-fea5e7061303&displaylang=en&tm
thanks for the answer...
but how to make it work? where to inform...
thanks
DzoniNoksvil said:
IS there virtual pocket pc emulator that can be used on regular PC?
Click to expand...
Click to collapse
Emulator Images for Windows Mobile 2003 Second Edition software for Pocket PC
http://www.microsoft.com/downloads/...b5-f2a2-47d7-a41d-825fd68ebb6c&DisplayLang=en
sorry no i do not know how it works. If it is like hte emulator for my psion 5 you just run it in a window. May also need the sdk which is in a link at the bottom of hte page.

[Q] Does anyone have a good method for turning an install shield file into a .cab?

Does anyone have a good reliable means of turning a 32-bit Windows setup.exe based installer system into a .cab that is usable with WinMo? I do know I'm gonna have to either write in either .XML and include the subfiles in the cab or find a converter. I have a work program that would valuable on the TP2 (diagnostic code translator), but it was written only for PC machines.
I'm trying to cut the cord as much as possible since I don't have immediate access to my work laptop.

[Q] Native COM debugging

I have been experimenting with Native COM on WP7. I create a native COM project in Visual Studio 2008 and a managed project in Visual Studio 2010 which consumes the native COM DLL. Everything works great but debugging the native code is tricky. The managed debugger will not debug the native code. The native debugger in visual studio 2008 will not attach to the device. DEBUGMSG statements that I add in the native COM project do not show up in the debug output in the managed debugger.
Has anyone discovered any good tricks to assist with native COM debugging?
Unfortunally there is no way to connect debugger even to managed code.
I could live with there being no native debugging, if I could at least get some logging functionality. I guess I could log to a file in the native code and then read it out from the managed side, or I could set up a COM event and pass back strings to the managed side for debugging output. Seems like there might be an easier way?
If you've looked at the OEM code, (and I have), you'll know not even they have the ability to put the device into KITL mode and attach a debugger. Only the MSFT guys can.
The only way you're going to be able to do it is write to a log file in your \My Documents\ folder and read it back.
Thanks walshieau (your blog really helped me get started with this). I guess my other approach would be to debug the native code on a Windows CE device and then use the debugged native COM dll in WP7.
It's possible to cook in KITL on HD2 and connect the device to visual studio.
walshieau said:
If you've looked at the OEM code, (and I have), you'll know not even they have the ability to put the device into KITL mode and attach a debugger. Only the MSFT guys can.
The only way you're going to be able to do it is write to a log file in your \My Documents\ folder and read it back.
Click to expand...
Click to collapse
Laurentius26 said:
It's possible to cook in KITL on HD2 and connect the device to visual studio.
Click to expand...
Click to collapse
Yes it is possible to "cook-in" KITL for the HD2. But not for retail WP7 devices atm.
Back to the original question, I'd suggest downloading the WM 6.5 SDK and debugging it that way via the emulator.
Debugging on the Windows CE 6 emulator works great. I was able to make a simple console app that consumed my COM DLL and debug into the native code. I'm hoping that once the COM DLL is debugged, integrating it back into the WP7 app should be a breeze.

Root on non Windows PC?

Hi, I do not have access to a Windows PC, so was wondering if anyone knows/has figured out how to use OS X or some form of linux to root the G4.
Thanks.
d oyou go to school or have access to library? SAFEST method would be to eaither download programs required and just go to a public windows library and root from there. IF that cant be done, next best thing is to try windows on linux with Virtual maching or using Wine. same thing with Mac OS, get a virtual machine that acts as windows
Zion Lion, did you ever find any resources for rooting on a non-Windows machine? I have a mac and libraries (at least locally) don't allow you to plug anything in to their computers, and I'm not going to purchase a license for Windows just to root a phone.

Categories

Resources