摘要:
Windows Mobile连接网络 using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; using System.Threading; using System.Collections;namespace DATest{ public class ConnectManager { const int S_OK = 0; const uint CONNMGR_PARAM_GUIDDESTNET = ... 阅读全文
摘要:
WinCE系统经裁剪后,安装到系统的文件在掉电后会丢失,所以需要每次都重新操作(创建快捷方式)。参考代码如下:/// <summary>/// WinCE5下创建桌面快捷方式/// </summary>private static void createHotLink5(){ string hotlink = @"/Windows/桌面/快捷方式.lnk"; if (!File.Exists(hotlink)) { string src = Path.GetDirectoryName(System.Reflection.Assembly.GetCal 阅读全文
摘要:
利用WinCE注册表,创建拨号连接/// <summary>/// WinCE5创建网络连接/// </summary>private static void createRasDial5(){ RegistryKey RootKey = Registry.CurrentUser; RegistryKey key = RootKey.CreateSubKey("Comm"); key = key.CreateSubKey("RasBook"); RegistryKey subkey = key.CreateSubKey(RasNa 阅读全文
摘要:
按照http://www.davidtucker.net/2007/11/07/cairngorm-part-4/ 做示例,改成Java做后台,提示“'http://localhost:8080/WebRoot/messagebroker/amf'”路径不对错误,后经后半天调试终于通过了。改动如下: 1、修改remoting-config.xml 而不是services-config.xml, 内容如下:<?xml version="1.0" encoding="UTF-8"?> <service id="re 阅读全文