[
2006/11/11 06:52 | by turbozv ]

两个文件
A) \Windows\HandCalendar.dll
B) \Storage\HandCalendar\HandCalendar.dll
A是系统的今日插件,已经被Load到内存中了。
B是准备升级的文件。
他们两个都有一个对外函数UINT32 GetVersion()
于是,我先LoadLibrary(A); 获取GetVersion函数地址,调用之得到A的版本号
然后LoadLibrary(B), 这个时候怪事情出来了, LoadLibrary(B)返回的地址还是刚才A的那个(我确信hInst已经被FreeLibrary过,并设置为NULL了)。
然后B的GetVersion的结果更让我确信LoadLibrary(B)的结果的确是返回的A的Handle。
Why?
没有时间去研究这个了,我把B改一个文件名就对了。
\Storage\HandCalendar\HCToday.dll
A) \Windows\HandCalendar.dll
B) \Storage\HandCalendar\HandCalendar.dll
A是系统的今日插件,已经被Load到内存中了。
B是准备升级的文件。
他们两个都有一个对外函数UINT32 GetVersion()
于是,我先LoadLibrary(A); 获取GetVersion函数地址,调用之得到A的版本号
然后LoadLibrary(B), 这个时候怪事情出来了, LoadLibrary(B)返回的地址还是刚才A的那个(我确信hInst已经被FreeLibrary过,并设置为NULL了)。
然后B的GetVersion的结果更让我确信LoadLibrary(B)的结果的确是返回的A的Handle。
Why?
没有时间去研究这个了,我把B改一个文件名就对了。
\Storage\HandCalendar\HCToday.dll
[
2006/10/26 06:15 | by turbozv ]

用CVSnt-2.5.01.1927 + TortoiseCVS-1.9.12,发现无法同步。
其实解决很简单,原因在于两个版本带的cvs.exe版本不同,把CVSnt-2.5.01.1927的cvs若干文件全部覆盖掉TortoiseCVS-1.9.12的即可。屡试不爽~
其实解决很简单,原因在于两个版本带的cvs.exe版本不同,把CVSnt-2.5.01.1927的cvs若干文件全部覆盖掉TortoiseCVS-1.9.12的即可。屡试不爽~

1、三亚凤凰国际机场

2、住的地方还不错


3、第一次见到海滩不免激动万分


4、夕阳西下

5、蜈支洲岛



6、南山寺的金佛

舍利子

108米高的佛像

7、天涯海角

更多的相册: http://picasaweb.google.com/turbozv/20069610

2、住的地方还不错


3、第一次见到海滩不免激动万分


4、夕阳西下

5、蜈支洲岛



6、南山寺的金佛

舍利子

108米高的佛像

7、天涯海角

更多的相册: http://picasaweb.google.com/turbozv/20069610
一段代码发布了很久了,也经历了有限个用户的测试,不够我感觉上始终有问题,于是用Python+IE把Javascript的程序标准集做了出来,好几十MB的TXT啊(跑了好多个小时才跑完-_-)……用来简单一跑,呵呵,问题查出来了,修复之~
做了一次完备性测试,心里踏实多了~ HOHO~
睡觉了~过几天发布掌心万年历的新版本吧~
做了一次完备性测试,心里踏实多了~ HOHO~
睡觉了~过几天发布掌心万年历的新版本吧~
RUN_TEST: testSolarToLunar()...
>>Passed:100.00% (Tested:1733177, Failed 0)
RUN_TEST: testZod()...
>>Passed:100.00% (Tested:3, Failed 0)
RUN_TEST: testSTerm()...
>>Passed:100.00% (Tested:8, Failed 0)
RUN_TEST: testWeekDay()...
>>Passed:100.00% (Tested:1030, Failed 0)
Total: 1734218, Failed: 0
>>Passed:100.00% (Tested:1733177, Failed 0)
RUN_TEST: testZod()...
>>Passed:100.00% (Tested:3, Failed 0)
RUN_TEST: testSTerm()...
>>Passed:100.00% (Tested:8, Failed 0)
RUN_TEST: testWeekDay()...
>>Passed:100.00% (Tested:1030, Failed 0)
Total: 1734218, Failed: 0