随笔分类 -  解决方案

程序过程中遇到的一些非程序本身的问题
_CommandPtr 添加参数 0xC0000005: Access violation writing location 0xcccccccc 错误
摘要:今天在写一个程序,其中有个函数是使用C++通过ADO调用SQLSERVER存储过程的。在执行过程中遇到了这样的错误系统:win 7 x64数据库:SQLSERVER 2005弄了2个小时都没有解决,最后在http://stackoverflow.com/questions/7968280/msado60-backcompat-crashes-in-ccommandcreateparameter找到了解决方法,这篇文章里面的情况除了数据库版本,发生错误的位置全部都是一样的。记录下来希望给大家一点帮助,也给自己一个提示,呵呵! 阅读全文

posted @ 2011-12-22 15:11 nnusun 阅读(1531) 评论(0) 推荐(0)

fatal error LNK1104: cannot open file 'libboost_regex-vc100-mt-gd-1_48.lib'
摘要:Vs 中添加boost库编译的时候出现了这个问题弄了好久才找出问题两个点:1.Project-->属性-->C/C++-->General-->Additional Include Derectories中加入你的boost目录2.Project-->属性-->Linker-->General-->Additional Library Derectories中加入<boost>/stage/lib编译成功! 阅读全文

posted @ 2011-11-30 21:43 nnusun 阅读(4116) 评论(0) 推荐(0)

英文操作系统 Myeclipse Console 乱码问题
摘要:安装了Myeclipse 9之后,web应用程序,tomcat控制台乱码按照网上的方法1.Windows->Preferences->general->Workspace->Text file encoding->Other框中的Text file encoding改为UTF-8。2.Windows->Preferences->General->Editors->TextEditors->Spelling Encoding 改为UTF-83.Servers窗口中,tomcat服务器右击->runconfiguration-> 阅读全文

posted @ 2011-09-01 21:47 nnusun 阅读(749) 评论(5) 推荐(1)

myeclipse 9.0 激活 for win7 redhat mac 亲测
摘要:首先下载激活工具:激活工具下载首先:windows下激活,这是最简单的了。1.首先确保安装了java6和myeclipse9.0,并没有打开MyEclipse9.0。找到MyEclipse的安装目录(具体根据个人安装情况而定,可以使用搜索),我的电脑上默认是在:C:\Users\Sun\AppData\Local\MyEclipse(注意AppData是隐藏文件)找到Common\plugins\com.genuitec.eclipse.core_9.0.0.me201103181703.jar,这个文件,使用解压缩软件打开(比如winrar for win, betterzip for ma 阅读全文

posted @ 2011-07-31 11:46 nnusun 阅读(6266) 评论(1) 推荐(1)

Visual Studio自动关闭
摘要:VS 自动关闭 阅读全文

posted @ 2011-06-02 20:47 nnusun 阅读(502) 评论(1) 推荐(0)

HTTP Status 404 - No result defined for action tmq.action.PublicAction and result success
摘要:被这个问题困扰了几天,查了一下发现原来是Action名称与Struts保留字冲突导致的修改Action名称就好了!据说在struts的配置文件中添加了abstract="true"这个属性后,也会报这个错误。详细参见:http://blog.163.com/rettar@126/blog/static/12165034220096240545843/ 阅读全文

posted @ 2011-05-20 18:54 nnusun 阅读(897) 评论(0) 推荐(0)

VS2008 只生成DLL不生成lib文件
摘要:对于VS2008的Win32工程只生成DLL文件而不生成lib文件添加Module-Definition File.def文件注意:需要添加新文件,如果选择 Add Existing Item不能解决问题 阅读全文

posted @ 2011-05-16 11:54 nnusun 阅读(645) 评论(0) 推荐(0)

导航