In 《Memory information on Windows MobileThis article describesWindows Mobile 6 Professional SDKExample of displaying memory information in the current plug-in. I just installedWindows Mobile 6 standard SDKThere are similar projects in the example, but debugging is not that simple.
An error occurs during compilation. The prompt is probably "no certificate file found", as shown in figure1As shown in:
Figure1: Compilation error prompt
In this project, we need a certificate, soGoogleThen, I found the answer. InWindows Mobile 5 pocketpc SDKThe certificate is found in the folder, as shown in figure2As shown in:
Figure2: Certificate path
Double-click the certificate to install it. In the displayed dialog box, select default. After the certificate is installed, recompile the project.Code.
Debugging today's plug-ins is different from general executable filesVisual studio2005For example,Tools-> attach to processIn the dialog box, select the appropriate device for debugging.StandardSo the settings are as follows:3As shown in:
Figure3:Attach to processSet
If debugging is complete, you can generate the installation package. The method is as follows:Homescreencab", Right-click, and selectBuild, Such4As shown in:
Figure4:Attach to processSet
Therefore, you can% Homescreencab "Debug"Directory, findHomescreencab. CabThis file, such5As shown in:
Figure5:Homescreencab. CabFile Path
After setting the path of the memory card of the simulator, copy the file to the directory of the memory card, and then use"File into ETo find the file and install it, as shown in figure6As shown in:
Figure6: Install on the simulatorHomescreencab. Cab
InstallHomescreencab. CabAfter this file, we canSettingOfHome screen.MempulgClick"Done", Exit the main interface, you can seeMemory Information, Such7As shown in:
Figure7: SimulatorHome screenInterface
Download the certificate: sdksampleprivate.rar
Reference link:
Memory information on Windows Mobile