Cannot delete or update a parent row: a foreign key constraint fails (`myreview/zmax_text`, CONSTRAINT `zmax_text_ibfk_1` FOREIGN KEY (`lang`) REFEREN...
分类:
其他好文 时间:
2014-08-06 17:36:52
阅读次数:
277
在一个Windows Phone(sliverlight)中添加一个dll作为引用的时候出现了如下错误:A reference to a higher version or incompatible assembly cannot be added to the project.如果这个DLL是你下...
分类:
其他好文 时间:
2014-08-06 17:21:21
阅读次数:
211
private var loader:URLLoader;...private function init():void{ loader = new URLLoader; req=URLRequest = new URLRequest("1.txt"); loader.load(req);...
分类:
其他好文 时间:
2014-08-06 14:34:11
阅读次数:
219
说明 本文主要介绍某嵌入式产品中DSL用户态驱动模块作为守护进程时,如何接收终端输入的变通性方法。 出于信息安全考虑,文中涉及系统方面的接口函数未给出实现细节,但不影响表述的完整性。 相关性文章参见《GNU Readline库函数的应用示例》。一 背景知识 init进程(如Busybox i...
分类:
其他好文 时间:
2014-08-06 14:20:51
阅读次数:
389
The Hungarian algorithm withThe adjacency matrix:计算最大匹配问题int n1, n2, m, ans;int res[MAXN];bool vis[MAXN], map[MAXN][MAXN];void init(){ int t1, t2; ...
分类:
其他好文 时间:
2014-08-06 14:18:31
阅读次数:
208
问题1 org.apache.tomcat.websocket.server.WsServerContainer cannot be cast to javax.websocket.server
严重: Servlet.service() for servlet [SpringMVC] in context with path [/ZHDM] threw exception [Request p...
分类:
编程语言 时间:
2014-08-06 11:59:01
阅读次数:
12178
最近做Excel导入
有两个方法:JXL 和POI
各有问题:JXL 导入:文件中有宏就报错,找不到解决方法。
POI导入:文件太大造成内存溢出。
先说问题 :Exception in thread "main" java.lang.IllegalStateException: Cannot get a text value from a numer...
分类:
其他好文 时间:
2014-08-06 11:54:20
阅读次数:
293
plug过程1.INIT_PLUG#define INIT_PLUG Plug::InitPlug g_InitPlug(true);//共享内存数据结构struct PlugShareMemory{ void* pFirstHand; //第一个打开文件的句柄 I_Plug...
分类:
其他好文 时间:
2014-08-06 01:35:10
阅读次数:
196
先看一下效果图:
用如下代码,想弹出一个模态窗口,设置它的背景透明度为0.5,却发觉prsent后的背景色变为黑色的。
ShareVC *share = [[ShareVC alloc] init];
[self presentViewController:share animated:YES completion:nil];
起初还以为是设置透明度或者是[UIColor clear...
分类:
其他好文 时间:
2014-08-05 22:41:00
阅读次数:
339
8月5日,第一个项目即将完成,测试时,发现登录功能会出现小问题:记住密码的时候会报错Warning: Cannot modify header information - headers already sent by (output started at经过再三在百度上查询,终于查到错误的关键原因...
分类:
其他好文 时间:
2014-08-05 22:15:40
阅读次数:
195