摘要:
Properties systemProperties = System.getProperties(); systemProperties.setProperty("http.proxyHost","192.168.10.240"); systemProperties.setProperty("http.proxyPort","8080"); HttpURLConnection conn =null; boolean checkNext = true; try { conn =(HttpURLConnection 阅读全文
posted @ 2012-07-23 16:50
白开水皮皮
阅读(2166)
评论(0)
推荐(0)
摘要:
JAVA JNI dll无法启动,报如下错误:This application has failed to start because the application configuration is incorrect最后发现是没有加入静态链接MFC库所致: 阅读全文
posted @ 2012-07-23 14:30
白开水皮皮
阅读(2854)
评论(0)
推荐(0)
摘要:
转自这里最近一段时间单位在做一个Web项目,工程师用JAVA语言,需要公用人员信息,统一用户名和密码,原有的平台中是用C#语言开发的,在网上查找解决方法,通过JAVA调用C#的DLL文件实现。网上资料很多,自己整合总结了一下,做个备忘。一、C#写com组件开发环境 vs20051、新建工程:ClassLibrary1 //根据自己需要取工程名2、右键点击工程->应用程序->程序集信息->使程序集com可见,打上勾 右键点击工程->生成->为com Interop注册 打上勾3、设置强签名 打开Visual Studio Command Prompt 输入:sn - 阅读全文
posted @ 2012-07-23 13:36
白开水皮皮
阅读(11191)
评论(0)
推荐(0)
浙公网安备 33010602011771号