摘要: DLL 的类型 当您在应用程序中加载 DLL 时,可以使用两种链接方法来调用导出的 DLL 函数。这两种链接方法是加载时动态链接和运行时动态链接。加载时动态链接 在加载时动态链接中,应用程序像调用本地函数一样对导出的 DLL 函数进行显式调用。要使用加载时动态链接,请在编译和链接应用程序时提供头文件... 阅读全文
posted @ 2015-03-13 11:39 iluzhiyong 阅读(420) 评论(0) 推荐(0) 编辑
摘要: 问题: 在vc6中这样代码顺利通过,可执行 ::SetDlgItemText(AfxGetMainWnd()-> m_hWnd,IDC_TIME,strTime); (这是在对话框程序中,代码在一个全局的线程函数中,设置一个EDIT框的内容)。 但是同样代码,同样编程环境的vc8中,此代码就不得行了。首先是运行错误(编译还可以),我估计可能是第一个参数出得问题,又因为这是个全局函数中得代码Se... 阅读全文
posted @ 2015-03-06 14:39 iluzhiyong 阅读(2369) 评论(0) 推荐(0) 编辑
摘要: 下载地址: 官网 HALCON学习网安装: 直接安装文件halcon-12.0-windows-x86.exe破解,汉化: 在HALCON学习网中有Licence文件“license_support_halcon12_2015_03.dat” 将该文件复制到HALCON安装目录下,C:\P... 阅读全文
posted @ 2015-03-04 23:12 iluzhiyong 阅读(51254) 评论(0) 推荐(0) 编辑
摘要: HALCON学习网:http://www.ihalcon.com/学习资料推荐博客:http://k594081130.blog.163.com/blog/static/218359013201371733044129/ 阅读全文
posted @ 2015-03-04 23:03 iluzhiyong 阅读(3759) 评论(0) 推荐(0) 编辑
摘要: 参考: MSDN数据访问编程 (MFC/ATL): https://msdn.microsoft.com/zh-cn/library/kd4ck1tt.aspx?f=255&MSPPError=-2147217396 ado方式操作数据库封装类的使用范例: http://download.csdn.net/detail/xianglitian/2383423 使用ADO封装类的数据库程序开发实... 阅读全文
posted @ 2015-03-03 16:14 iluzhiyong 阅读(1518) 评论(0) 推荐(0) 编辑
摘要: 参考:http://blog.csdn.net/wxfy1977/article/details/3847450(另外一种实现方式,数据库方式)http://blog.csdn.net/evkj2013/article/details/10186199http://www.cnblogs.com/x... 阅读全文
posted @ 2015-03-02 20:59 iluzhiyong 阅读(10315) 评论(0) 推荐(0) 编辑
摘要: 问题 当使用Git比较一个大文件(几十兆数量级)版本见差异时,会一直等待加载,且内存消耗很大,导致其他进程很难执行。任务管理器中,可以看到此时的TortoiseGitMerge吃掉3G左右的内存。 原因 文件太大,加载很慢。 解决方法 其实,我们在使用【Compare with base】这个功能时... 阅读全文
posted @ 2015-02-28 12:53 iluzhiyong 阅读(2286) 评论(0) 推荐(0) 编辑
摘要: 1.问题 电脑上同时安装了VS2008,VS2010,使用VS2010编译VS2008建立的工程,或者,VS2010创建新的工程、编译时,出现以下链接错误: LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt 2.修改 安装Visual Studio 2010 Ser... 阅读全文
posted @ 2015-02-28 08:55 iluzhiyong 阅读(1055) 评论(0) 推荐(0) 编辑
摘要: Compile Error: The code in this project must be updated for use on64-bit systems. Please review and update Declare statements and then mark them with the PtrSafe attribute. 1.问题: 32-bit的VBA程序,在64-bit... 阅读全文
posted @ 2015-02-27 13:21 iluzhiyong 阅读(2040) 评论(0) 推荐(0) 编辑
摘要: 1.概念①Coil和Register Modbus中定义的两种数据类型。Coil是位(bit)变量;Register是整型(Word,即16-bit)变量。②Slave和Master与Server和Client 同一种设备在不同领域的不同叫法。 Slave: 工业自动化用语;响应请求;... 阅读全文
posted @ 2015-02-26 14:12 iluzhiyong 阅读(20545) 评论(3) 推荐(3) 编辑