摘要: 在EF6使用Sqlite的时候。Sqlite需要安装sqlite-netFx40-setup-bundle-x64-2010-1.0.97.0.exe。我不想在项目发布的时候,安装的时候执行该程序,于是看到了打包过程中,Sqlite安装程序实际是执行的注册,于是分析了执行的命令提示界面。发现只对三个... 阅读全文
posted @ 2015-11-02 11:38 HandsomeBoy 阅读(355) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;namespace FZJ.Lock{ /// /// 等值锁定 //... 阅读全文
posted @ 2015-10-14 10:25 HandsomeBoy 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 开发1.因为EF不支持Codefirst,开始可以使用SQL来进行开发。部署安装2.然后可以找到SQL转Sqlite工具(http://www.cnblogs.com/walkingp/archive/2010/04/08/1707834.html)3.到这里(http://www.cnblogs.... 阅读全文
posted @ 2015-08-28 14:43 HandsomeBoy 阅读(1836) 评论(0) 推荐(0) 编辑
摘要: 一.新建C++项目 1.在VS2012中新建->项目->模版->其他语言->Win32->Win32项目->下一步->选DLL,导出符号。 2.在XX.h项目中删除所有内容,将以下代码贴进去。 #define TESTCPPDLL_API __declspec(dllexport) extern " 阅读全文
posted @ 2015-06-10 17:11 HandsomeBoy 阅读(4703) 评论(0) 推荐(0) 编辑
摘要: 1 string exeFileName = ""; 2 3 System.Diagnostics.Process process = new System.Diagnostics.Process(); 4 5 proce... 阅读全文
posted @ 2015-05-22 10:08 HandsomeBoy 阅读(185) 评论(0) 推荐(0) 编辑