This site is no longer active and is available for archival purposes only. Registration and login is disabled.

How to tell when running in emulator?


How to tell when running in emulator?

Postby fzammetti » Mar 4, 2003 @ 6:06pm

...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby Kzinti » Mar 4, 2003 @ 8:40pm

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby fzammetti » Mar 4, 2003 @ 8:52pm

...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby Digby » Mar 4, 2003 @ 9:56pm

Digby
pm Insider
 
Posts: 1011
Joined: Apr 29, 2001 @ 1:53pm


Postby fzammetti » Mar 4, 2003 @ 10:18pm

...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby Dan East » Mar 5, 2003 @ 7:15am

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby superman » Mar 5, 2003 @ 7:12pm

"Kittens give Morbo gas." - Morbo the News Monster
User avatar
superman
pm Member
 
Posts: 99
Joined: Nov 3, 2001 @ 1:09am


Postby fzammetti » Mar 5, 2003 @ 8:54pm

...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby Dave H » Mar 6, 2003 @ 4:35am

I have to say that in my experience if the x86 emulator crashes in Debug mode so far it has always pointed to a bug in my code, not the emulator code that is at fault.


For example one time I was destroying a window in one thread as it was being operated on in another thread directly (i.e. it was actually accessing memory which was being deallocated mid-access). This as I'm sure you can see is a bug in my code not the emulator, since I should have shut down the thread, waited till the thread had actually terminated and them and only then destroyed the window.

However it had previously runs for weeks on many iPAQ and Toshibas without ever crashing once. The timing and maybe the lack of the memory being overridden meant it never actually crashed. However I'm sure you can see given enough future versions of Windows CE, it probably would have eventually :(
Dave H.
Lead Programmer (Repton PPC/7650)
[url=http://www.handango.com/PlatformProductDetail.jsp?productId=43741]
Buy Repton Online here!
[/url]
User avatar
Dave H
pm Member
 
Posts: 164
Joined: Oct 3, 2002 @ 5:01pm


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum