PC Review


Reply
Thread Tools Rate Thread

Determine the CPU type/Emulator or Device

 
 
Zanna
Guest
Posts: n/a
 
      8th Mar 2004
Hi,

I'd like to determine what is the CPU type used by a smart device.
Also I want to know if I'm running on a real device or on the Emulator.

Is it possible?

Thanks!

 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWFhcnRlbiBTdHJ1eXMsIGVNVlA=?=
Guest
Posts: n/a
 
      8th Mar 2004
You need to P/Invoke to the GetSystemInfo API, which returns the processor type. Better still you can make use of OpenNETCF.org's Smart Device Framewor
(http://www.opennetcf.org/winapi.asp) that has the P/Invoked function ready to use. It returns the processor type in an enum (Core.ProcessorType). If the processor type is an X86 type you are running on the emulator, otherwise you are running on a device

Regards
Maarten Struys, eMV
PTS Software b

www.opennetcf.org | www.dotnetfordevices.co


----- Zanna wrote: ----

Hi

I'd like to determine what is the CPU type used by a smart device
Also I want to know if I'm running on a real device or on the Emulator

Is it possible

Thanks


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting PPC Pro Device Emulator with Physical Device Himanshu Lakdawala Microsoft Access 2 4th Feb 2010 12:24 PM
CE 5.0 Device Emulator not appearing in target device list Richard Lewis Haggard Microsoft Dot NET Compact Framework 4 28th Sep 2006 11:53 PM
Registering a new emulator skin in Device Emulator Manager & VS 2005 AP Microsoft Dot NET Compact Framework 1 12th Jun 2006 01:12 PM
device emulator david.milner@ge.com Microsoft Dot NET Compact Framework 3 31st May 2006 09:06 AM
Dynamiclly Determine Type of Parameter and Type Cast it (code insi =?Utf-8?B?TGVubg==?= Microsoft C# .NET 1 14th Dec 2005 09:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:45 PM.