In C++, FlexeLint is a good tool for static analysis source code, but unfortunately, the reports generated by FlexeLint are formatted in plain text. As there were always a lot of “error” ,"warning” and “information” reported, we could not finger out where the really errors are. So I decided to devel... [更多...]
We received a bug about can not receive any notification but the notification channel can be built successfully. After a long investigation, we found this issue was caused by the network environment. Let’s do more check on this issue, why we don’t know whether objects in IROs is r... [更多...]

代码文摘20090604

3 六月 2009 In: DotNet, 软件行业, CPlusPlus
http://parandroid.com/8-online-css-optimizer/ http://www.codeproject.com/KB/cs/KeepAliveWeakReference.aspx http://www.codeproject.com/KB/threads/MultiThreadingWrapper.aspx http://www.codeproject.com/KB/dialog/SemiTranDlgWithCtrls.aspx http://www.codeproject.com/Articles/36262/Getting-Fun... [更多...]
目前算得上有一份稳定的工作,而且比以前轻松了许多,所以业余时间大部分都是我自己的,我也在准备开始继续报表的开发,算起来已经搁浅了将近3个月了。在开发之前我想弄一份报表源代码授权,在选择GPL/LGPL和BSD之后,我还是看上了BSD。原因是: 对于代码的所属问题上,我一直比较含糊,如果要开源,那就开一个彻底,否则开源做什么? 对于代码的修改权限,我看的更淡,每个人都有自己的看法和建议,但是很多时候我可能不会去考虑某些人的想法,简单的说,代码,每个人都可以修改,但是我不保证修改的代码就会包含到下一个发布版本中。 对于支持,我觉得很累,很多的代码,只是我自己练手用的,所以我... [更多...]
很少用在C++下面的XML,虽然买了一本书,但是尘封数年了,没看。大多数都是用JDOM之类非常简单明快的东西——嗯,最近受到Websphere的XML解析器的困扰,我已经开始自己抽取一份XML解析器了。所以在C++上的SAX,多少熟悉一些,但是代码却有些陌生,尤其是那个转义的XMLCh,令人有些哭笑不得。 问题出自于一个在用的系统,原先的XML节点中的字符串都是规范的字符串,没有特殊字符,目前客户(万恶的China Unicom)要在这些节点中加入”<”和”>”导致解析的时候出现错误。原先的解析机... [更多...]

文摘2009-04-29

29 四月 2009 In: CPlusPlus, DotNet, JAVA, 软件行业, 似水年华, 网页开发
数据库 SQL Server恢复只有MDF的数据库: http://www.cnblogs.com/Anper/archive/2009/04/28/1445100.html Dot Net: Winform嵌入控制台程序 http://www.cnblogs.com/gster/archive/2009/04/28/1444745.html 娱乐 十大令人恐怖的昆虫 http://www.redbots.cn/sciences/2009/04/28/9714.htm Java Script (From Douglas ... [更多...]

Make VC2008 to support HH as header files

18 二月 2009 In: CPlusPlus, 软件行业
Quite a lot of program blocks of my company use TAO as default IDL compiler, and the tool output *.hh as C++ header. I encountered a embarrassed situation when I using Visual C++ 2008 to navigate and edit the source code: the IDE can not recognize the *.hh as C++ header files, obviously, it is a b... [更多...]

JAVA泛型之痛

5 一月 2009 In: 软件行业, JAVA, DotNet, CPlusPlus, SQLReport
JDK1.5出台这么长时间,真正在项目中用的时候非常少,原因是项目大都是大型系统,局限于Application Container, 例如WebSphere,折腾了很长时间才懒洋洋的支持JDK1.5,而另外则是很过JSP编译器不支持泛型,所以比较难处理。 我将 SQLReport 的定位为自己的一个练手的项目,所以在脱离了实际的生产环境之后,毫不犹豫的转型到了JDK1.5, 当然这也带来了大量的代码重构和改动——这也是当前迟迟不能发布V4.0的主要原因——工作量虽然大,也有些甘之如饴。 在C++中用模板的时候,觉得这个东西非常强大,但是非常玄,尤其是编译器不支持动态编译(实时语法提示)的时... [更多...]

C++指针使用方法解惑(ZT)

19 十二月 2008 In: CPlusPlus, 软件行业
The original article is here from hangwire. ----------- 在下列函数声明中,为什么要同时使用*和&符号?以及什么场合使用这种声明方式?  void func1( MYCLASS *&pBuildingElement );      论坛中经常有人问到这样的问题。本文试图通过一些实际的指针使用经验来解释这个问题。   仔细看一下这种声明方式,确实有点让人迷惑。在某种意义上,"*"和"&"... [更多...]

The ambiguousness of C++

15 十二月 2008 In: CPlusPlus, 软件行业
The Version of GCC bash-3.00$ g++ --version g++ (GCC) 3.4.5 20051201 (Red Hat 3.4.5-2) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PU... [更多...]
I am upgrading my Blog from Blog Engine V1.3 to V1.4.5.0 and I am going to change the theme SilverLight to another good view one named “Dilectio”, some changes are needed to fit my opinion. Go BlogEngine.NET to download the new version of engine. Go http://www.onesoft.dk/ ... [更多...]

C++ Exception Specification

27 十月 2008 In: CPlusPlus
Thanks Jeff. I'd like to share some tips with you guys, which including the answer for Question 1 that Jeff has mentioned in the prev-mail. The root cause of the core-dump of the process "c3gcommx" is "Exception Specification". Exception Specification Basic An excep... [更多...]

The 13 Golden Rules of debugging

22 十月 2008 In: CPlusPlus, 软件行业
1. Understand the requirements. Make sure you understand the requirements before you begin to debug and fix anything. Is there a standards document or a specification to look at? Or other documentation? Maybe the software is not malfunctioning after all. It could be a misinterpretation instead of ... [更多...]

Template: Using as Parent class

19 十月 2008 In: CPlusPlus
This is a memo of C++ feature test.   #include<string> #include<iostream> using namespace::std;class InterfaceA{ virtual void MsgA()=0;}; class InterfaceB{ virtual void MsgB()=0;}; class ImplementA: InterfaceA{ public: ImplementA() { //No cod... [更多...]

About Jeason Zhao

Jeason,蜀人,才高三斗,学富一箱。自比子建,放荡不拘行迹,豪语难晓天高;不敢自诩风流,任人笑我痴狂。不欲仕途,个性使然。所到之处,三言不尽,五言难足,鸡飞狗跳盖矣。谓蜀者,鼠也!

What's SqlReport

SQL Report is an open source web-based reporting system that integrates with your Java/J2EE application to produce compelling reports.
  >> Totally free and open source.
  >> Pure web-based user interface. All functions, including viewing reports and administrative, can be done in IE and FF. No extra applications to be needed.
  >> Easy to deploy, no TagLibs, only one servlet. Even you have choice to use pool JSP to access reports without configuring any sevlet.
  >> Having fun with built-in functions. You can create a complex report with a single SQL and set redering from a web-based GUI.