Complete newby seeking direction .....

mikethebike

Member
Licensed User
Dear Wise Men
Having only just started on Basic4PPC, I'm thinking I'm missing something obvious, but searching the site hasn't helped me so far.
I'm assuming it's possible (from the desktop IDE) to code an application for the PPC device, compile it on the desktop, upload it to the device, and perhaps even start the program running.
For example, I've written the Hello World application, and compiling and running it on the desktop, understandably, gives me a window saying Hello World on the desktop screen.
I've found I can also transfer exactly the same .exe to my device (via Windows explorer) and run it from there and that works too.
But is there not some easy way to upload a program compiled on the desktop to the device from within the desktop IDE?
Is it not also possible to emulate the PPC device screen on the desktop?
Apologies if these are complete dimwit questions, but I'm sure someone can put me right quickly!
Thanks
Mike
 

IoSonoPiero

Active Member
Licensed User
Longtime User
Well, if you want to speedup the development, you can use the WM emulator.
Then, you can use a folder on your hardisk as the Storage Device of the emulator.
Then, you can compile from the IDE the exe, swith to the WM Emulator, and then run the exe directly into the emulator.

I use this technic to see how an application works.

Then, I use it on a real device.

Windows Mobile 6.1 Emulator look here
Windows Mobile 6.5 Emulator look here

Hope this help you!

Bye,
ghale
 
Last edited:

Cableguy

Expert
Licensed User
Longtime User
To answer to your exact question:

But is there not some easy way to upload a program compiled on the desktop to the device from within the desktop IDE?
Not at the moment...
In fact, in most cases, if you have a finished app, it probably consist of several files and you want it to have an icon on one of the device application folders, in wich case you must use the SetupBuilder in order to create an exe that can be installed via activesync to the ppc.
 

mikethebike

Member
Licensed User
Thanks for the prompt and helpful responses guys.

So ghale, the best bet for emulation is a Microsoft bolt-on! My device is an Ipaq H2210 running PPC 2003, but I guess that B4P produces code that runs on pretty much anything, so the WM6.5 emulator is still valid. I have to say that my experiences with using Microsoft stuff is not impressive (except VS 6.0 which was great), everything is just so complex, a major reason I was attracted to B4P! What are the pros and cons of the two options?

Thanks also to klaus and Cableguy, seems I was expecting too much :-( . Good idea to use ActiveSync to transfer the stuff automatically, and I'll take a look at SetupBuilder in due course, but right now I'm just trying to find my feet!

As background, we're going green, and the application is to build a simple PPC-based (low power) graphical MMI front-end for an Arduino mega which I use to capture rainwater level, solar heating and wood boiler temperature data.

Thanks again all for your help, at least there was a good reason why I couldn't find what I was looking for!
 

IoSonoPiero

Active Member
Licensed User
Longtime User
Well, me too don't like Windows, I'm a Linux user, but I can assure you that you can develop very well with Basic4PPC and the WM Emulator.

Naturally you can choose the 5.0, 6.0, 6.1, 6.5 versions of Windows Mobile.

With Basic4PPC and the emulator, in my opinion you can work well.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…