Pocket PC Developments FAQ

zhaozj2021-02-11  205

Pocket PC Developments FAQ (original from Microsoft MSDN Technology Community)

Below is an answer to the regular problem in the Pocket PC. I think the problem in the newsgroup is moderate, I accept questions through email, and I can send the problem to Microsoft Premier Support Team. I update a list monthly, so send your problem and check it.

Ordinary problem

Can I download it from Embedded Visual Tools?

You can find downloads from Microsoft® Embedded Visual Tools (EVT).

If you are MSDN global subscribers, you can also download this tool from the MSDN Global Download Site. Find EVT.

Using EVT, can I develop a Pocket PC on the Pocket PC?

With EVT, you can develop for Pocket PC, but you cannot develop on the Pocket PC. Embedded Visual Tools allows you to develop on your desktop PC. Pocket PC Software Development Kit (SDK) A simulator is also run on your PC, so you can test or debug your program without using a real Pocket PC.

Can I develop other target platforms that are not Pocket PC using EVT?

The EVT is supported with the SDK with H / PC Pro 3.0 and Palm-Size PC 1.2 devices. You can also install H / PC2000 or other third-party OEM custom SDK.

When developing for Pocket PC, should I use Embedded Visual Tools or Platform Builder?

A short answer: Embedded Visual Tools. Microsoft Windows® CE Platform Builder (PB) is a toolkit providing OEM and hardware developer developers to create devices that use Windows CE as their operating system. Viewing this web server will find more details about the Difference Between Evt and PB.

Where can I find the recent Pocket PC Logo demand?

Veritest has the nearest logo compliance technical manual, in ITS Web Site.

How do I connect Embedded Visual Basic and Embedded Visual C via SafeArrays?

There is a good article on this problem in MSDN, How to: Pass Arrays Between Visual Basic and C. He wrote a desktop version of Microsoft Visual Basic® and Microsoft Visual C ®, but it is not well applied to embedded development and mobile device development.

How do I get the Control Panel program in the connection section of the Pocket PC?

Check out the Doc: Selecting The Icon Group for a Control Panel Dialog Box in MSDN.

How do I read the serial number of my Pocket PC?

You can't, really. Although Windows CE does not support unique serial numbers, Pocket PC OEMs determine that this feature is not supported. The reason is that the cost: Each Pocket PC will have to get a separate Windows CE image, including the serial number, which will require additional manufacturing programs.

If you need a separate serial number, I recommend using SanDisk, Kingston Technology, or IBM's CompactFlashTM card. The CompactFlash card has a unique serial number and can be readily read. Chapter 11 of "The Windows CE Technology Tutorial" Chapter 11 of "The Windows CE Technology Tutorial" of Chris Muench and Randolph Kath will explain the method. Embedded Visual C problem

Why did the CPU in the list more than what I can use more when I create a project?

Embedded Visual C has used to develop applications for all Windows CE devices and platforms including real embedded devices. While Pocket PC usually can only use Strongarm, MIPS, and SH3 processors, an industrial HMI (Human Machine Interface Panel) or a gas pump may run on other nine supported CPU families. In fact, what is your application's target for a platform to decide what CPU. The Pocket PC SDK can only contain MIPS, STRONGARM, and SH3 libraries.

ADOCE problem

Is there an update of Adoce 3.0?

Microsoft recently released version of Microsoft ActiveX® Data Objects for Windows CE (Adoce) 3.1.

In addition to the repair of BUG, ​​there are also some speed improvements in new versions.

When I try to use Ado, I get the error "Adoce Resource DLL '/WINDOWS / MSDAER

This is a well-known issue of Adoce 3.0. There are two ways:

1. In your Pocket PC, in the system sets the Regional Settings program, set the country to "ENGLISH (United States). Loading English resource DLL.

2. Update your Pocket PC to Adoce 3.1 (see the connection above). If you can't find a national designated version, the new version will use the English version.

How do I get an Access Database in the Pocket PC Simulator?

PC Access Database Format (.mdb) and Access Format On The Pocket PC (.cdb) are different, and both of them are applied to the Pocket PC simulator. Move an Access database from the Pocket PC to the development environment you must first copy the Access file to your PC desktop. By copying process, .cdb file is converted to .mdb file.

Then, you need to write a short conversion program to copy one .mdb file to the simulator. For more information, please see Move An Access Database Into The Emulation.

Why is myRecordSet.Find () method not working?

AdoCE usually supports the RecordSet.Find () method, but is dependent on the underlying support of the OLEDB. Because Pocket Access Files (.cdb files) and object storage do not support this method, the call for Find () failed. If you use this method in Microsoft SQL Server 2000 For CE, the Find () method will work normally.

AdoCe's additional resources

Clear some common Adoce Record set errors:

http://www.microsoft.com/mobile/developer/tips/rserrors.asp

Accelerate your ADO application in Windows CE (Ado): http://www.microsoft.com/mobile/pocketpc/tips/adoe.asp

Introduction Microsoft Embedded Adoe V3.1:

Http://msdn.microsoft.com/library/default.asp?url=/library/wcedoc/adoce31/adowlcm.htm

Develop data access applications using Microsoft Windows CE 3.0 With AdoCe:

http://msdn.microsoft.com/library/default.asp?url=/library/techart/adocE30.htm

Create a mobile Windows DNA application, 1-4:

Http://www.microsoft.com/mobile/pocketpc/StepBystep/dnappart1.asp http://www.microsoft.com/mobile/pocketpc/StepBystep/Dnappart2.asp http://www.microsoft.com/mobile/ Pocketpc / stepbystep / dnappart3.asp http://www.microsoft.com/mobile/pocketpc/stepBystep/Dnappart4.asp

Microsoft XML Parser problem

Why did my device hang when I use the Xmldocument.Load () function?

XMLDocument

Objective

Load ()

Function requires one

IStream

Object. The following article will tell you how to use

XmlDocument.Load ()

method

Ways to get XML INTO The Parser.

转载请注明原文地址:https://www.9cbs.com/read-5051.html

New Post(0)