I believe that the Smart mobile phone will unify the mass media such as telecom, internet, TV, radio and publication. Actually now the latest sell phone is more powerful than my first PC. So I am very look good on the development of Smart device. Also there are many smart platforms such as Windows Mobile, Sybiam, and Linux, I am still respecting we can use our smart phone as a PC.
Said so much, now begin to introduce how to configuration the Windows Mobile DLL debug environment.
Following the steps:
1. Create two Smart Device project, choose a DLL and a exe application.
2. Go to the properties of DLL project, Deployment—Remote directory: %CSIDL_PROGRAM_FILES%/xxxxx, here input the test exe file directory. Then the DLL will be uploaded into the path.
3. then go to DEBUG—remote executable, input the full path of test exe.
4. set the exe project depends to the DLL project.
5. then build and deploy the two projects, the linked file would be upload into the emulator.
6. any you can do the debug work.
Notes: it’s better to load the DLL dynamically, not only saving the device resource, but also easier to use the current direction as the default path of DLL file.
You may set the share folder of Emulator, the share folder just is the storage card.
With the Visual Studio 2005, I think there are not too many differences between W32 and Smart Device application.
配置Windows Mobile DLL调试环境
本文介绍了如何配置Windows Mobile平台上的DLL调试环境。通过创建SmartDevice项目并设置远程目录及可执行文件路径,可以实现DLL文件的上传与调试。文章还提供了一些技巧,如动态加载DLL以节省资源。
5911





