会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
chenlh
博客园
首页
新随笔
联系
订阅
管理
1
2
下一页
2019年2月1日
Ubuntu14.04下Android 5.1编译环境搭建记录
摘要: 安装git $ sudo apt install git 添加源 $ sudo gedit /etc/apt/sources.list 打开sources.list文件,在文件的最下面添加以下内容: deb http://archive.ubuntu.com/ubuntu/ trusty main
阅读全文
posted @ 2019-02-01 15:12 chenlh
阅读(449)
评论(0)
推荐(0)
2017年4月5日
MSDTC相关配置参考
摘要: MSDTC相关配置参考 http://www.cnblogs.com/lastbeachhead/archive/2009/04/14/1435448.html http://blog.csdn.net/wufeng4552/article/details/4796846 MS-SQLSERVER的
阅读全文
posted @ 2017-04-05 14:07 chenlh
阅读(162)
评论(0)
推荐(0)
2016年11月23日
让VS默认以管理员身份运行
摘要: In Windows 8 & 10, you have to right-click devenv.exe and select "Troubleshoot compatibility". 转自 http://stackoverflow.com/questions/12257110/can-you-
阅读全文
posted @ 2016-11-23 08:55 chenlh
阅读(803)
评论(0)
推荐(0)
2015年2月4日
Dump 文件生成与分析
摘要: Dump文件是进程的内存镜像。可以把程序的执行状态通过调试器保存到dump文件中。 Dump文件是用来给驱动程序编写人员调试驱动程序用的,这种文件必须用专用工具软件打开,比如使用WinDbg打开。 当我们的程序发布出去之后,在客户机上是无法跟踪自己代码的bug的,所以Dump(扩展名是 .dm...
阅读全文
posted @ 2015-02-04 14:30 chenlh
阅读(438)
评论(0)
推荐(0)
2014年11月14日
C#调用Java的WebService时添加身法认证信息的方法
摘要: Java生成的WebService要求在调用时在http的header里必须带上Authorization:Basic xxxxxxxxxxxxxxx的认证信息因为是在添加Web Reference后直接调用服务,所以就要重写服务类,重写服务类的GetWebRequest方法,示例代码如下publi...
阅读全文
posted @ 2014-11-14 11:43 chenlh
阅读(1646)
评论(0)
推荐(0)
2014年7月7日
C# JAVA字符串Unicode编码转换
摘要: C#版本 /// /// 字符串转为UniCode码字符串 /// /// /// 字符串,不包含\u格式符号 public static string StringToUnicode(st...
阅读全文
posted @ 2014-07-07 09:39 chenlh
阅读(1068)
评论(0)
推荐(0)
IIS支持apk文件下载
摘要: 打开IIS服务管理器,找到服务器,右键-属性,打开IIS服务属性; 单击MIME类型下的“MIME类型”按钮,打开MIME类型设置窗口; 单击“新建”,建立新的MIME类型; 扩展名中填写“.apk”,MIME类型中填写apk的MIME类型“ application/vnd.android.pack...
阅读全文
posted @ 2014-07-07 09:35 chenlh
阅读(265)
评论(0)
推荐(0)
2014年6月23日
【转】Winform输入法控制
摘要: 来源:http://blog.itpub.net/23109131/viewspace-630576想实现输入法切换:思路,找出当前系统所有输入法总个数,当前输入法在总输入法中的索引,通过改变索引值,来切换输入法void input(){ //变全角为半角的输入状态 this....
阅读全文
posted @ 2014-06-23 10:16 chenlh
阅读(494)
评论(0)
推荐(0)
WebRequest请求Url中文乱码
摘要: 出现这种情况需要对请求的URL进行编码转换,如下:string url="...";Encoding encode = System.Text.Encoding.GetEncoding("gb2312");url = System.Web.HttpUtility.UrlEncode(url, enc...
阅读全文
posted @ 2014-06-23 10:12 chenlh
阅读(496)
评论(0)
推荐(0)
2014年6月20日
c#实现Form窗体始终在桌面最前端显示
摘要: 方法一://调用API[System.Runtime.InteropServices.DllImport("user32", CharSet = System.Runtime.InteropServices.CharSet.Auto, ExactSpelling = true)]public sta...
阅读全文
posted @ 2014-06-20 10:13 chenlh
阅读(6194)
评论(0)
推荐(0)
1
2
下一页
公告