Monthly Archives: June 2006

profile a jscript function

//a function to print duration time of another function.function TestFunction(){WScript.Echo("welcome to http://www.fruitfruit.com");} function ProfileFunction(function_name){WScript.Echo( function_name + " start at " + new Date() );var func_obj = new Function("return "+ function_name + "()");func_obj();WScript.Echo( function_name + " end at " + new … Continue reading

Posted in Uncategorized | Leave a comment

Re: /MAPINFO:LINES equivalent in VS2005?

See if these articles can help: http://www.cygnus-software.com/papers/release_debugging.html http://www.codeproject.com/debug/postmortemdebug_standalone1.asp Regards, Oleg [VC++ MVP http://www.debuginfo.com/%5D

Posted in debug | Leave a comment

Re: dynamic memory allocation checker

PageHeap (part of the operating system itself) is very effective in finding various kinds of heap corruptions and other misuses; here you can find additional information about it: http://support.microsoft.com/?id=286470 http://www.debuginfo.com/tips/userbpntdll.html (the latter also contains links to some standalone products that … Continue reading

Posted in debug | Leave a comment

Re: Why my application(exe) exit without any information

From news.microsoft.com Symptom:I developed a VC++ application with GUI. It read some type file and convert to another type file. Now, we found when this program batch process the mass files,sometime,the process will disappear! It mean no exception dialog,no memory … Continue reading

Posted in debug | Leave a comment

飞利浦的薪资福利如何?

飞利浦为员工提供综合的薪资福利待遇,并定期对薪酬福利方案进行审阅和更新,以不断激励员工和回报他们对公司做出的贡献。目前的部分薪资福利方案包括:   基本工资   交通补贴   业绩奖金   员工留用奖金   优先认股权   公司住房基金     商业医疗保险计划   教育补助   公司产品员工特价销售计划   员工推介计划   员工俱乐部活动 (2005年1月)

Posted in Uncategorized | 1 Comment

About software engineering

Waterfall and XPManagers prefer to Waterfall because they have less things to monitorduring each phase of the project, but it is difficult for developer toproduce a precise workproduct at each phase, all workproducts are notperfect in version 1.0.Due to the … Continue reading

Posted in Uncategorized | Leave a comment

Observer (Publisher-Subscriber) pattern

It is applied in COM connection point, Java UI event and .NET eventhandling.

Posted in Uncategorized | Leave a comment

memo of fruits

荔枝王:12.8RMB, 鸡蛋大小的个头,里面有一个很大的核,不是很甜,味道不如小个头的品种妃子笑:6.8RMB 很甜,核很小,nice黑布林:8RMB,很酸青蛇果:8RMB,很酸红蛇果:6.8RMB,口感还好香蕉:1.3RMB,口感还好提子:6.8RMB,有点酸,个头和妃子笑差不多李子:很酸枇杷:很酸小樱桃: 口感还好油桃: 3.8RMB,有点酸欢迎点评

Posted in Uncategorized | Leave a comment

Send and Receive Hotmail via Thunderbird

Finally it worked for me.I have installed Thunderbird 1.5.0.4, WebMail 1.0.8, WebMail – Hotmail0.10.12Add my hotmail account via File->New..->WebMailOpen properties dialog of this hotmail account, go to "Server" page,the user name field must be your_name@hotmail.comThen go to Tools->Extensions…->WebMail-Hotmail 0.10.12->OptionsWebDav->Change Mode, … Continue reading

Posted in Uncategorized | Leave a comment

S_FALSE or E_aaa

One of our exposed COM method returns E_aaa_1 and E_aaa_2 on two different cases, but COM consumer complained this behavior and suggested to using S_FALSE. It is OK to me, but our requirement document specifically claimed that we shall return … Continue reading

Posted in Uncategorized | Leave a comment