Source: http://www.cnblogs.com/wangkewei/archive/2009/06/21/1507856.html
Recently, many beginners have asked some very simple "how to use" questions. This article solves this problem. You are welcome to share more useful tools.
First, how do I install the development tool?
1. Install Visual Studio. The following installation sequence cannot be changed.
2. Install ActiveSync 4.5. After the installation, open the ActiveSync interface as follows. When the mobile phone and the computer are not connected, a white "small circle" on the status bar will be displayed, which will turn green after being connected. Some people will ask about the function of ActiveSync. Simply put, it is used for synchronization between the mobile phone and the PC. Sometimes your simulator also needs it when synchronizing with the PC (for example, accessing the Internet through the PC, specific settings are searched from the Internet ). For more information, see ActiveSync help.
3. Install Windows Mobile 6 Professional SDK refresh. MSI and Windows Mobile 6 Professional images (CHS). MSI (Chinese package ). After installation, the simulator is available in both Chinese and English.
In fact, this step can be met by general development. The following is what professional development requires and must be purchased from Microsoft and a third party.
Bytes -----------------------------------------------------------------------------------------------------------
4. Install platform build for Windows Mobile (to be purchased from Microsoft ).
5. Install adaptation kit (to be purchased from Microsoft ).
6. Install CSP/BSP (required by the hardware vendor ).
The second question is, how do I develop a Windows Mobile Application?
In C/C ++, C # is similar and easier to use.
Application development involves many processes: General EXE programs, Control Panel programs (see another article), and service programs (see another article) COM Server DLL (such as IE Plug-in and Media Player Plug-in), various non-com plug-in DLL (such as today plug-in), and so on.
This section describes the common Win32 exe program.
Create a Win32 smart device project, no matter what happens to. net, so it does not matter in the upper right corner:
Next step:
If you select the platform, select the 6.0 Professional version:
Here is the EXE program. Therefore, if we select the first project, no code will be generated if we select an empty project:
The right side shows the SDK of the 6.0 release Sinal version we selected:
All available simulators in this version are displayed on the left:
Use the following highlighted options when you need to use a real phone instead of a simulator. It is worth noting that when you want to run the program on your mobile phone, you must use this option to generate a real arm platform program.
After development, how can I use it on a mobile phone? Unless you are an OEM and have already integrated your mobile phone to your mobile phone when it leaves the factory, it is generally integrated into your mobile phone in the form of an installation package. For details about how to create an installation package, see my other article. Note that the installation package may require a signature.
The third question is, how do I use the phone simulation function on the simulator?
Open cellular:
The lower-left corner shows the com4 port (sometimes com3 ):
In the simulator settings, modify the serial port 0 to com4, and then restart it:
The fourth question is, how do I use the remote tools provided by Visual Studio?
These tools are very useful, but I find that many people have not used them, resulting in low development efficiency.
View/partially export the registry information of the simulator or real machine:
Click the Save icon above to save the Registry subitem:
Import or export files to or from a simulator or VM:
View the detailed information of the process on the simulator or on the real machine. If the starting address of the process, the DLL loaded by the process, and the thread contained by the process are as follows:
Mobile phone interface tool:
The spy tool is a good helper for solving problems and program optimization. You must not forget to use it:
For example, I want to know how the system sends messages to my own today plug-in window every time I click the button. Select the plug-in window and click the telescope button above:
I hope this article will be useful to you. You must mine more things by yourself :)
Author: Wang Kewei
Source: http://wangkewei.cnblogs.com/
Copyright: The copyright of this article is shared by the author and the blog. The detailed link of this article must be noted during reprinting; otherwise, the author will reserve the right to pursue its legal liability. {
Function onclick ()
{
Diggit (1507856,23857, 1)
}
} "> 2 {
Function onclick ()
{
Diggit (1507856,23857, 2)
}
} "> 0
0
(Please comment on this article) «previous article: service programs on Windows Mobile
» Next article: Windows Mobile Control Panel program posted @ Wang Ke Wei read (4341) Comments (14) EDIT favorites {
Function onclick ()
{
Putinwz (); Return false;
}
} "Href =" http://writeblog.csdn.net/# "> Overview: Windows Mobile
Post comments 1634302 {
Function onclick ()
{
Replycomment ("darryn", 1564440, "CFH/mpvx8wiejzgoript9maccj/ifez4ayveklloprbx6yklxkhl4q = ")
}
} 'Href = "wangkewei/archive/2009/06/21/1507856 .html # commentform"> reply {
Function onclick ()
{
Quotecomment (1564440, "CFH/mpvx8wiejzgoript9maccj/ifez4ayveklloprbx6yklxkhl4q = ")
}
} 'Href = "wangkewei/archive/2009/06/21/1507856 .html # commentform"> reference View
# 1st floor | darryn is good ~ Very detailed!
Thank you ~!! {
Function onclick ()
{
Replycomment ("zli", 1564541 ,"")
}
} 'Href = "wangkewei/archive/2009/06/21/1507856 .html # commentform"> reply {
Function onclick ()
{
Quotecomment (1564541 ,"")
}
} 'Href = "wangkewei/archive/2009/06/21/1507856 .html # commentform"> reference
#222.212.149 on the second floor. * | zli [unregistered users] How many mobile phones are using this. You can {
Function onclick ()
{
Replycomment ("Wang Ke wei", 1564562, "hgatdnt4vgxb2itjbe5koghzz3ajdnaruouwahjimojlgl6h0hviyg = ")
}
} 'Href = "wangkewei/archive/2009/06/21/1507856 .html # commentform"> reply {
Function onclick ()
{
Quotecomment (1564562, "hgatdnt4vgxb2itjbe5koghzz3ajdnaruouwahjimojlgl6h0hviyg = ")
}
} 'Href = "wangkewei/archive/2009/06/21/1507856 .html # commentform"> reference View
# Floor 3 [main poster] | Wang Ke Wei @ zli
What? {
Function onclick ()
{
Replycomment ("Jake. Net", 1565388, "k2lminfzqztzbcqworc7vy + EC + qH + vuyxw.fvm + Er/xs3q9czbttg = ")
}
} 'Href = "wangkewei/archive/2009/06/21/1507856 .html # commentform"> reply {
Function onclick ()
{
Quotecomment (1565388, "k2lminfzqztzbcqworc7vy + EC + qH + vuyxw.fvm + Er/xs3q9czbttg = ")
}
} 'Href = "wangkewei/archive/2009/06/21/1507856 .html # commentform"> reference View
# 4th floor, | Jake. Net good, thanks .{
Function onclick ()
{
Replycomment ("9949", 1567028 ,"")
}
} 'Href = "wangkewei/archive/2009/06/21/1507856 .html # commentform"> reply {
Function onclick ()
{
Quotecomment (1567028 ,"")
}
} 'Href = "wangkewei/archive/2009/06/21/1507856 .html # commentform"> reference
# Fifth floor 220.231.223. * | 9949 [unregistered user] The landlord. After I install a Chinese image, I cannot open the samples of CPP in the SDK. The newly created SDK does not display the installed SDK, what's the problem ,? . Net Cf .{
Function onclick ()
{
Replycomment ("Wang Ke wei", 1567483, "hgatdnt4vgxb2itjbe5koghzz3ajdnaruouwahjimojlgl6h0hviyg = ")
}
} 'Href = "wangkewei/archive/2009/06/21/1507856 .html # commentform"> reply {
Function onclick ()
{
Quotecomment (1567483, "hgatdnt4vgxb2itjbe5koghzz3ajdnaruouwahjimojlgl6h0hviyg = ")
}
} 'Href = "wangkewei/archive/2009/06/21/1507856 .html # commentform"> reference View
#6 floor [main poster] | Wang Ke Wei @ 9949
What is ". Net CF?
If you use. Net CF for development, you need to select which SDK to use to create a C # intelligent device project. You have not figured out the relationship between the SDK and. Net cf.
If you have installed the SDK described in this article, use vs2005 + to open the project in samples (click the. sln or. vcproj file ).
If not, try the English SDK.
If none of them works, it indicates that you have a problem installing vs or one of the sdks. In this case, you may need to reinstall the system. The patch will not be successful if vs installation fails. {
Function onclick ()
{
Replycomment ("9949", 1570691 ,"")
}
} 'Href = "wangkewei/archive/2009/06/21/1507856 .html # commentform"> reply {
Function onclick ()
{
Quotecomment (1570691 ,"")
}
} 'Href = "wangkewei/archive/2009/06/21/1507856 .html # commentform"> reference
#121.37.8. * | 9949 [unregistered users] @ Wang Kewei
You want to complex, my vs2005 is the Chinese version, after installing wm6 SDK and Chinese image, new C ++ smart device, (http://images.cnblogs.com/cnblogs_com/wangkewei/WindowsLiveWriter/VisualStudio_A6FF/clip_image002%5B14%5D_thumb.jpg) can not see the wm6 sdk I installed, if you do not install a Chinese image, you can see why? The C ++ project in samples cannot be opened, prompting that there is no corresponding platform.
I have been using. Net CF for development and can create a project to open wm6.
{
Function onclick ()
{
Replycomment ("peterzb", 1574100, "/mpd57dljoat ++ oftie3dhzaevdx7ltbvot8leyx56wzk9jg5rjdeg = ")
}
} 'Href = "wangkewei/archive/2009/06/21/1507856 .html # commentform"> reply {
Function onclick ()
{
Quotecomment (1574100, "/mpd57dljoat ++ oftie3dhzaevdx7ltbvot8leyx56wzk9jg5rjdeg = ")
}
} 'Href = "wangkewei/archive/2009/06/21/1507856 .html # commentform"> reference View
#, | An excellent WM beginner's tutorial for peterzb, up Wang Kewei {
Function onclick ()
{
Replycomment ("superfish", 1582692 ,"")
}
} 'Href = "wangkewei/archive/2009/06/21/1507856 .html # commentform"> reply {
Function onclick ()
{
Quotecomment (1582692 ,"")
}
} 'Href = "wangkewei/archive/2009/06/21/1507856 .html # commentform"> reference
# 9th floor 116.253.81. * | superfish [unregistered users] Thank you for your tutorial {
Function onclick ()
{
Replycomment ("Wang chunfei", 1582985 ,"")
}
} 'Href = "wangkewei/archive/2009/06/21/1507856 .html # commentform"> reply {
Function onclick ()
{
Quotecomment (1582985 ,"")
}
} 'Href = "wangkewei/archive/2009/06/21/1507856 .html # commentform"> reference
#58.246.161. * | Wang chunfei [unregistered users] Very good {
Function onclick ()
{
Replycomment ("www. codehenry.com", 1604714 ,"")
}
} 'Href = "wangkewei/archive/2009/06/21/1507856 .html # commentform"> reply {
Function onclick ()
{
Quotecomment (1604714 ,"")
}
} 'Href = "wangkewei/archive/2009/06/21/1507856 .html # commentform"> reference
#11 floor 221.122.59. * | www.codehenry.com [unregistered user] Great, thank you {
Function onclick ()
{
Replycomment ("Wang Ke wei", 1614023, "hgatdnt4vgxb2itjbe5koghzz3ajdnaruouwahjimojlgl6h0hviyg = ")
}
} 'Href = "wangkewei/archive/2009/06/21/1507856 .html # commentform"> reply {
Function onclick ()
{
Quotecomment (1614023, "hgatdnt4vgxb2itjbe5koghzz3ajdnaruouwahjimojlgl6h0hviyg = ")
}
} 'Href = "wangkewei/archive/2009/06/21/1507856 .html # commentform"> reference View
# Floor 12 [main poster] | Wang Kewei @ superfish
You are welcome {
Function onclick ()
{
Replycomment ("Wang Ke wei", 1614026, "hgatdnt4vgxb2itjbe5koghzz3ajdnaruouwahjimojlgl6h0hviyg = ")
}
} 'Href = "wangkewei/archive/2009/06/21/1507856 .html # commentform"> reply {
Function onclick ()
{
Quotecomment (1614026, "hgatdnt4vgxb2itjbe5koghzz3ajdnaruouwahjimojlgl6h0hviyg = ")
}
} 'Href = "wangkewei/archive/2009/06/21/1507856 .html # commentform"> reference View
#14 floor [main poster] | Wang Ke Wei @ Wang chunfei
@ Www.codehenry.com
Thank you for your support {
Function onclick ()
{
Replycomment ("qianglc", 1634302, "bx2m + ba4daw69mwdbawvauhbf1zt30yaave/p3enijpxvpvuspzuha = ")
}
} 'Href = "wangkewei/archive/2009/06/21/1507856 .html # commentform"> reply {
Function onclick ()
{
Quotecomment (1634302, "bx2m + ba4daw69mwdbawvauhbf1zt30yaave/p3enijpxvpvuspzuha = ")
}
} 'Href = "wangkewei/archive/2009/06/21/1507856 .html # commentform"> reference View
# 15th floor, | qianglc began to get in touch with things in this regard, starting from scratch. Thank you for your tutorial ~~~
Solve the problem that the Windows Mobile 6.5 simulator cannot connect to cellular emulator
Source: http://www.cnblogs.com/wangkewei/archive/2009/10/15/1584075.html
In this article, the following sections are introduced in Visual Studio and related tools in mobile development. You can follow the steps to successfully connect to the simulator before Windows Mobile 6.5, but cannot connect to the simulator before Windows Mobile 6.5, see the final supplement in this article. I would like to thank a netizen for telling me what he was calling and committing a sin.
The third question is, how do I use the phone simulation function on the simulator?
Open cellular:
The lower-left corner shows the com4 port (sometimes com3 ):
In the simulator settings, modify the serial port 0 to com4, and then restart it:
For Windows Mobile 6.5 simulator, You need to reset the port and then restart the simulator. Otherwise, the Operation will fail.
Author: Wang Kewei
Source: http://wangkewei.cnblogs.com/
Copyright: The copyright of this article is shared by the author and the blog. The detailed link of this article must be noted during reprinting; otherwise, the author will reserve the right to pursue its legal liability. {
Diggit (1584075,23857, 1)
} "> 0 {
Diggit (1584075,23857, 2)
} "> 0
0
(Please comment on this article) «previous article: Enable the Windows Mobile simulator to access the Internet through your PC
» Next article: Design and compile a Windows Mobile 6.5 today's interface posted @ 2009-10-15 Wang Kewei reading (424) Comments (3) EDIT favorites {
Putinwz (); Return false;
} "Href =" http://writeblog.csdn.net/# "> network Abstract
Post comments 1675213 {
Replycomment ("egmkang", 1672784, "86 dcwbyuhpwyonlididmpdvifqa/omjaig6nb8vlls/hqnuwe/CCOG = ")
} 'Href = "http://writeblog.csdn.net/wangkewei/archive/2009/10/15/1584075.html#commentform"> reply {
Quotecomment (1672784, "86 dcwbyuhpwyonlididmpdvifqa/omjaig6nb8vlls/hqnuwe/CCOG = ")
} 'Href = "http://writeblog.csdn.net/wangkewei/archive/2009/10/15/1584075.html#commentform"> reference View
#, September 15, | egmkang must be restarted after soft restart.
In addition, the Pro version of the simulator can use cellular emulator. It looks like {
Replycomment ("King of No. 12", 1672855, "zomjxz73w4zxvvhqdz88xdy/fbeviq1adiky0z4phjowf + 5iru1zdg = ")
} 'Href = "http://writeblog.csdn.net/wangkewei/archive/2009/10/15/1584075.html#commentform"> reply {
Quotecomment (1672855, "zomjxz73w4zxvvhqdz88xdy/fbeviq1adiky0z4phjowf + 5iru1zdg = ")
} 'Href = "http://writeblog.csdn.net/wangkewei/archive/2009/10/15/1584075.html#commentform"> reference View
# 2nd floor, | I encountered such a problem as king of the 12th. I had to do this.