Re: HOWTO? load and debug eVC++ Programm in the EMULATOR



I never found it to be a huge effort to generate an emulator image for
something. It's not very valuable unless there is some strange hardware,
which you also have to emulate (and *that's* often a big effort), that makes
having the OS running on the development system a big help. We have a
device with no graphical display, but a two-line text display, and it was
worth the effort to emulate that text display, since it's convenient to have
the emulated graphical display right in front of you, with a window
simulating the text display, also present. You can see what you're going to
get on the text display, see what happens when something else pops up in
front of your graphical window, etc.

As for your question, consult the Platform Builder documentation for getting
an emulator image to boot. I'm in the middle of a build right now, so I
can't try it, but it pretty much comes down to configuring your "target",
via the Target menu in PB, then doing an Attach Device, as I recall.

Paul T.

"Mai K. Reiss" <MaiK_NOSPAM_reiss@xxxxxxxx> wrote in message
news:h3nqs1l837hqe1jlc01of4b4usi0fs7pkg@xxxxxxxxxx
> "Paul G. Tobey" wrote...
>
>>The guy who builds the OS
>>can check a checkbox when he generates the SDK for the device and give you
>>an emulator for it.
> If I understood You correctly, it is more simple to generate an
> emulator image as my mates told me? This would be a valuable
> information ;-) may be it will cost me a soda can or a pizza to get
> the guy for that task, but it's worth the cost...
>
>>You can try to use the Standard SDK Emulator, but you'll be writing code
>>based on a *huge* assumption: that whatever target device you end up
>>trying
>>to run the program on has the same components as Standard SDK in it.
> since I write mostly "generic WinCE 4.20 code for almost all devices",
> often also portable to be compiled for PC-Windows, I could live with
> this. The rare functions we added to the Standard SDK are well wrapped
> and/or emulated for PC-Windows, so I could use them in the emulator,
> too.
>
> Paul, I highly appreciate Your postings here. So I hope, You are also
> able to give me a hint for my last question, aren't you?
>>> Platform builder (4.2 IIRC) is installed, program is generated as "x86
>>> emulator debug" target. But it fails to download. So, what the hell
>>> must be started / configured to start / boot the emulator and to
>>> download and debug my sample onto it?
>
> ???
>
> Mai K. R.
>
> --
> ich hasse Rassisten!


.



Relevant Pages