上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 18 下一页
摘要: 在WTL工程的.h中#include #include #include #include #include #include 结果还是下面一堆错,为什么呢,因为你没有使用这个using namespace ATL; 加上这个下面错全部消失。error C2061: syntax error : i... 阅读全文
posted @ 2015-07-13 18:19 奥雷连诺 阅读(1302) 评论(0) 推荐(0)
摘要: .right_img_box{ width:300px; height:250px; border:1px solid #c9c9c9; margin-bottom:15px; background: #fff; padding:7px;}.right_aimg{ width:300px... 阅读全文
posted @ 2015-06-17 15:01 奥雷连诺 阅读(925) 评论(0) 推荐(0)
摘要: 环境: $pageNum = 8; for ($i = 1; $i urlFormat, $i); $html->load_file($url); echo "" . $i . "start1 ".$url.""; $m... 阅读全文
posted @ 2015-06-15 15:48 奥雷连诺 阅读(727) 评论(0) 推荐(0)
摘要: 绑定控件 HWND logEdit = ::GetDlgItem(this->m_hWnd, IDC_EDIT_LOG); m_outputlogEdit.Attach(logEdit);滚动到最新一行当CEdit是多行显示的时候m_outputlogEdit.LineScroll(m_out... 阅读全文
posted @ 2015-06-12 11:03 奥雷连诺 阅读(316) 评论(0) 推荐(0)
摘要: 在mysql中,比如你的表的时间字段是column2,并且column2的类型是timestamp单日查询:select * from TableName where column1='xxxx' and date(column2)='2015-05-29'日期范围查询:select * from ... 阅读全文
posted @ 2015-06-03 16:48 奥雷连诺 阅读(210) 评论(0) 推荐(0)
摘要: function GetTitleImgPath(){ $titleImgPath = ""; if (isset($_POST["titlecheckbox"])){ $titleImgPath = $_POST["imgTitlePath"]; //选中了,用is... 阅读全文
posted @ 2015-05-22 11:03 奥雷连诺 阅读(681) 评论(0) 推荐(0)
摘要: mysql_insert_id() 获取插入数据后的最新的id遇到问题和解决的步骤如下:1. 使用后总是返回空的字符串,网上查了一番有人说是id要AUTO_INCREMENT,并且mysql_insert_id获取的id是当前的$conn ;2. 查看数据库主键id确实是AUTO_INCREMENT... 阅读全文
posted @ 2015-05-12 16:30 奥雷连诺 阅读(588) 评论(0) 推荐(0)
摘要: 可能的原因如下:1. 菜单tools->Options->Debugging->General,有个Require source files to exactly match the original version的选项取消;2. 菜单tools->Options->Debugging->Symb... 阅读全文
posted @ 2015-05-04 14:32 奥雷连诺 阅读(300) 评论(0) 推荐(0)
摘要: 编译总是失败提示 包含了窄字符;比如下面的提示:error C2664: 'CreateEventA' : cannot convert parameter 4 from 'const wchar_t *' to 'LPCSTR'error C2664: 'OutputDebugStringA' :... 阅读全文
posted @ 2015-05-04 14:31 奥雷连诺 阅读(145) 评论(0) 推荐(0)
摘要: xxxxxx.lib(xxxxxx.obj) : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'1. 先看看你的模块是否是64位,这个一般都是,如何配置64位工程,这里就不... 阅读全文
posted @ 2015-05-04 14:29 奥雷连诺 阅读(2473) 评论(0) 推荐(0)
摘要: 告诉我不是真的吧,和真的有区别。。。 阅读全文
posted @ 2015-04-30 14:50 奥雷连诺 阅读(226) 评论(0) 推荐(0)
摘要: 1. html生成失败,权限问题前天用php生成模板,在windows上开发,include文件,读缓存写文件,顺风顺水,晚上写完后传到linux上html生成失败,发现文件和文件夹都没生成,网上查找说是权限问题,于是用ftp修改整个目录的权限,右键文件夹,看到菜单有个CHMOD的项,选择后如下图,... 阅读全文
posted @ 2015-04-29 11:24 奥雷连诺 阅读(3169) 评论(0) 推荐(0)
摘要: 本文只讨论加载失败的原因,不复述npapi的使用教程1. 资源文件是否加上MIMEType命名的id,和html中的的标签是否对应如果不相同加载必然失败;2. 注册表是否写入该项影响到浏览器能否找到你的dll,至于如何命名,那是教程的事情;3. 导入函数是否加入.def文件.def文件加上npapi... 阅读全文
posted @ 2015-04-28 18:04 奥雷连诺 阅读(826) 评论(0) 推荐(0)
摘要: 使用php ob_start()模板生成html 内容无法撑开生成后主要的内容 生成后这个几个节点总是固定大小,不能被内容撑开,花费了2个多小时,后来将的style设为overflow:hidden搞定,看来即使是生成html也不要忘了自动撑开的属性。PHP读文件遇到尖括号如果文件内容有页面包这个后... 阅读全文
posted @ 2015-04-24 17:11 奥雷连诺 阅读(286) 评论(0) 推荐(0)
摘要: 图片压缩: 1. 背景图片尺寸一般为100-300KB,使用纯色图片可缩小至1-3KB,方法得当可缩小1M多; 2. .ico一般为100-200KB,16x16一直到256x256,可减去其中几种尺寸缩小50KB左右,凡是使用了.ico的exe都可缩减; 3. .ico编译进exe, 打包时.... 阅读全文
posted @ 2015-04-24 10:04 奥雷连诺 阅读(364) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 18 下一页