摘要: public void ScheduleIncomingRequest(IEndpointIncomingRequest request) { // queue the request. lock (m_lock) // i.e. Monitor.Enter(m_lock) { // check a 阅读全文
posted @ 2016-02-29 19:56 王晓阳 阅读(272) 评论(0) 推荐(0) 编辑
摘要: #include #include "malloc.h"#include "stdlib.h"using namespace std;typedef bool* pbool;templateclass Graph{ public: Graph(int vertexNum,int ... 阅读全文
posted @ 2015-04-05 11:48 王晓阳 阅读(1289) 评论(0) 推荐(0) 编辑
摘要: C# 如何与C++ 编写的COM 组件进行交互,首先编写一个C++ ATL COM 组件,打开vs,新建一个ATL项目,将项目命名为COMServer,在Application Setting中,选择Dynamic Link Library(动态链接库)。创建项目后,右键点击项目,添加-类,选择A... 阅读全文
posted @ 2015-02-11 17:14 王晓阳 阅读(2937) 评论(0) 推荐(0) 编辑
摘要: Socket使用SOAP调用WCF 阅读全文
posted @ 2015-02-09 23:48 王晓阳 阅读(1190) 评论(0) 推荐(0) 编辑
摘要: 编程实现WCF客户端调用 阅读全文
posted @ 2015-02-09 23:38 王晓阳 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 编程实现WCF服务的承载 阅读全文
posted @ 2015-02-09 23:28 王晓阳 阅读(189) 评论(0) 推荐(0) 编辑
摘要: /// /// 设置文件夹的ACL /// /// 文件夹路径 /// 用户 /// 权限 /// 拒绝访问 /// public static bool SetFolderACL( string folderPath, ... 阅读全文
posted @ 2015-01-23 12:01 王晓阳 阅读(3240) 评论(0) 推荐(1) 编辑
摘要: 首先找到这个dll,默认在Visual Studio的安装目录下:“Microsoft Visual Studio 12.0\Common7\IDE\” 找到这两个DLL: ”Microsoft.Data.ConnectionUI.Dialog.dll“ ”Microsoft.Data.ConnectionUI.dll“ 在程序集中引用它们两个,然后添加Using 引用 using Microso... 阅读全文
posted @ 2014-12-17 11:12 王晓阳 阅读(768) 评论(0) 推荐(0) 编辑
摘要: this.WindowState = System.Windows.WindowState.Normal;this.WindowStyle = System.Windows.WindowStyle.None;this.ResizeMode = System.Windows.ResizeMode.NoResize;this.Topmost = true;this.Left = 0.0;this.To... 阅读全文
posted @ 2014-08-21 17:19 王晓阳 阅读(2245) 评论(0) 推荐(0) 编辑
摘要: OPC UA 节点定义: 1 public interface INode 2 { 3 /// 4 /// The node identifier. 5 /// 6 /// The node identifier. ... 阅读全文
posted @ 2014-07-07 16:41 王晓阳 阅读(4967) 评论(0) 推荐(0) 编辑