Saturday, February 28, 2009

fix progress calculation in ProgressWnd.cpp:

fix progress calculation in ProgressWnd.cpp:
method CProgressWnd::SetPos

from :
nPercentage = (nPos*100)/(m_nMaxValue - m_nMinValue);

to:
nPercentage = ((nPos-m_nMinValue)*100)/(m_nMaxValue -
m_nMinValue);

http://www.codeguru.com/cpp/controls/controls/progresscontrols/comments.php/c2293/?thread=15407

COleDispatchDriver/_variant_t

fix vc compiler error:

#include <afxdisp.h> /* // fix error C2504: 'COleDispatchDriver' : base class undefined # MFC Automation classes(for excel) right after "afxwin.h"//add to stdafx.h */


#include <comdef.h> /* // fix error C2065: '_variant_t' : undeclared identifier # */

Sunday, February 22, 2009

Foxit eSlick

Foxit eSlick要你隨身讀

Annti Yang 於 1 month 之前發表

文章分類: 電腦周邊, 軟體應用

eSlick

Foxit原本是軟體起家,最有名的就是免費的PDF閱讀軟體,現在Foxit把觸角伸到了硬體,將推出第一款電子閱讀器eSlick,厚度1公分上下,約180克重。
用eSlick可以隨心所欲閱讀任何文件電子檔,當然內建MP3功能是一定要的,內附2GB的記憶卡及耳機,聽說一台229.99美金,約新台幣7600元,現在搶先預購可以省下1000元。
目前市面上的電子閱讀器不少,愛聽音樂的人願意買ipod,愛閱讀的人是不是也願意花錢買e-book reader?這也讓Annti想起Sony電子書閱讀器PRS-500,不知道賣得如何?不過,市場這隻無形的手會Foxit eSlick給答案的。

Tags: e-book reader, E-bookReader, foxit

http://chinese.engadget.com/2009/01/03/q408-foxit-eslick-reader/

#

Ultra-light ebook reader runs Linux

Dec. 19, 2008
PDF software company Foxit is readying an electronic book reader that weighs 6.4 ounces, measures 0.4 inches thick, and runs Linux. The Foxit eSlick offers E Ink's low-power electronic-paper display, ships with an MP3 player, and sells for $100 less than an Amazon Kindle.
(Click for larger view of the eSlick)


Hanlin eReader V3
(Click for details)

As if spurred on by the success of the hard-to-come-by Amazon Kindle, which was rekindled by a recent endorsement by Oprah Winfrey, more and more vendors appear to be jumping into the ebook market. Like the Kindle, many of the new ebooks run Linux, and nearly all use the low-power E Ink EPD display technology.
The eSlick appears to be very similar to the recently introduced Hanlin eReader V3, as well as Bookeen's Cybook, which is on sale in Europe. Both of those products run Linux (Wolf Linux in Hanlin's case), offer similar 7.2 x 4.7 x 0.4-inch dimensions, provide similar USB and MP3 player features, and share the same E Ink 6-inch, 800x600 gray-scale display.
Whereas the eReader V3 and Cybook use the Samsung S3C2410 clocked at 200MHz, the eSlick runs the faster Samsung S3C2440, which offers an ARM920T RISC core clocked at 400MHz. The eSlick provides more memory than the Hanlin and Bookeen readers, with 128MB RAM, and like these two E Ink cousins, it supplies an SD card slot for storage, in this case offering a 2GB card standard, expandable to 4GB.


eSlick in white

The eSlick boasts up to 8,000 pages of continuous reading on a single charge, Foxit claims. An actual duration claim in hours is not provided, because EPD displays use power only to set an image, and none to maintain it. For more about EPD technology, see E Ink's AM-100 EPD dev kit.
E Ink says its technology has appeared in a variety of watches and other consumer electronic products from Seiko, Citizen, and Microsoft. It is also used in Sony's LibriE e-book, which is available in Japan. Linux ebook readers that use E Ink e-paper include the Readius, Amazon Kindle, eRead Star eBook STK-101, and the original iRex iLiad.


eSlick up close

Aside from the low weight, the key asset that seems to differentiate the eSlick is Foxit's embedded display software. The ebook reader offers Foxit Reader preinstalled, providing features including font controls with text reflow, and a zoom capability that is said to enlarge pages from 50 percent to 400 percent. Format support is limited to PDF and TXT files, but the device ships with Foxit's PC-based PDF Creator software, which is said to convert any printable document with formats including TXT, PPT, DOC, XLS, and HTML to PDF document format. Documents can then be downloaded to the eSlick via the USB connection. The Creator software, however, only runs on Windows.


The eSlick includes an MP3 player

Specifications listed for the eSlick include:

  • Processor -- Samsung S3C2440 ARM 400MHz
  • Memory -- 128MB
  • Flash expansion -- SD Card slot (2GB card included); supports up to 4GB
  • Display -- 6-inch E Ink Vizplex screen with 600 x 800 resolution and 166 dpi, 4-level gray scale
  • USB -- 1 x USB 2.0 port (cable included)
  • Audio -- MP3 player; earphones and adapter
  • Controls -- Buttons for power, up, down, left, right, enter, delete, menu, and music
  • Plugs -- Euro 2Pin, UK 3Pin, US 2Pin
  • Battery -- rechargeable Lithium
  • Case colors -- black, gray, or white
  • Dimensions -- 7.4 x 4.7 x 0.4 inches (188 ?118 ?9.2mm)
  • Weight -- 6.4 oz (180g) with battery; AC adapter included
  • Text formats -- PDF, TXT
  • Bundled software -- Foxit Reader Pro Pack, PDF Creator, PDF Editor (trial); PDF Page Organizer Pro (trial)
  • Operating system -- embedded Linux
Availability
The Foxit eSlick will be available in January for an introductory price of $230 (standard price $260). More information may be available here.

http://linuxdevices.com/news/NS8442724020.html

http://www.foxitsoftware.com/ebook/overview.html

Sunday, February 08, 2009

USP10.dll病毒詳解與查殺攻略

USP10.dll病毒詳解與查殺攻略

作者:shazi1896 日期:2009-02-02

認識USP10.dll:
USP是Unicode Scripts Processor的簡稱,意思就是“Unicode文字系統處理器”。它是微軟開發的Windows作業系統為正確演示Unicode文字而開發的元件,系統的核心即一個名為USP10.DLL的DLL。它從Windows 2000開始連同Windows一起捆綁,Win 9x的用戶在更新至Internet Explorer 5.0之後,系統亦會安裝有本元件。USP的當前最新版本是隨同Windows Server 2008 RTM、Windows Vista SP1等所附帶的1.626.6001.18000。
USP主要包括以下的部件:
1.把文字從輸入次序重排成為顯示次序
2.把文字按前文後理作出適當的變換
3.按文字顯示的方向作出字元的替換
雖然Uniscribe從Windows 2000開始隨系統提供,但不同版本的Uniscribe對各地不同的文字有不同的支援:最初的版本只支持泰語、越南語,之後到希伯來語和阿拉伯語。從Windows XP開始支援幾個主要的南亞文字及亞述語,但僧加羅語、高棉語、緬甸語及各種使用蒙古文字的語言,由於他們的具體編碼方式在Windows XP推出時還未落實,因此未能正式支持。現時不少為這些語言而設計的軟體,在USP10.dll未更新之前,都不能正確操作。
總結一下:
DLL文件:usp10或者usp10.dll
DLL名稱:Uniscribe Unicode script processor
描述:usp10.dll是字元顯示腳本應用程式介面相關檔。
屬於:Uniscribe
系統 DLL檔:是
常見錯誤:File Not Found, Missing File, Exception Errors
USP10.dll病毒原理:
正常的USP10.dll是字元顯示腳本應用程式介面相關檔,存在於C:\WINDOWS\system32\USP10.dll,也有可能存在於C:\WINDOWS\system32\dllcache\USP10.dll
usp10.dll木馬病毒則是利用window系統目錄優先權來啟動。
首先來說說這個目錄優先權,windows系統在執行一個檔時,首先會在“當前目錄”查找所要執行的檔,如果當前目錄不存在這個檔,就會到windows\system32\下去查找,如果還是不存在,就會到windows\目錄下去查找,如果還是不存在就會在環境變數PATH中的目錄下去查找,這個就是windows目錄優先權。
這裏還要告訴大家是,一個exe檔執行會調用系統不少的DLL。
瞭解了這個目錄優先權和exe應用程式執行時會調用系統dll後,不少朋友可能都已經想到了,這個USP10.dll為什麼會把自身大量複製到每個可執行檔同目錄下,為什麼會取名為USP10.dll?對,複製自身就是讓可執行檔在執行的時候搶佔目錄優先權,而命名為USP10.dll是因為在windows\system32\也有個USP10.dll,很多應用程式啟動時都會調用這個dll,這就是這個USP10.dll病毒的啟動原理了。
USP10.dll病毒手動查殺:
首先打開“我的電腦”,選擇功能表欄“工具”下的“檔夾選項”,去掉“隱藏受保護的作業系統檔(推薦)”前邊的勾,再勾選“顯示所有檔和檔夾”。這樣做是因為這個USP10.dll病毒把自身修改為系統檔和隱藏檔,正常情況下是看不到的。
USP10.dll病毒會感染系統裏所有exe檔,並且把自身複製到被感染exe檔的當前目錄。
所以大家需要到安全模式去刪除病毒,在安全模式下,病毒還是會駐留在某些系統進程裏,這裏不用害怕,我們來一步步消滅這可惡的病毒。
在開始功能表選擇“搜索”,點擊“所有檔和檔夾”,在“全部或部分檔案名”裏寫上“usp10.dll”,然後直接點“搜索”,系統會搜索出所有盤符下的USP10.dll病毒。
注意:C:\WINDOWS\system32\USP10.dll和C:\WINDOWS\system32\dllcache\USP10.dll目錄檔的不是病毒,其他的都是,等把所有usp10.dll搜索出來後,就刪除掉。C:\WINDOWS\USP10.dll可能一時刪不了,這個也是病毒,只是還有進程在使用他,我們可以先給他改個名字,重命名一下,只要不是usp10.dll就可以,然後重新啟動,再回到C:\WINDOWS\把你剛改的名字的病毒刪掉就可以了。當然可以借助冰刃(http://www.2000xg.com/article.asp?id=567)工具。
這裏我總結下:C:\WINDOWS\system32\USP10.dll和C:\WINDOWS\system32\dllcache\USP10.dll不能刪,其他usp10.dll都刪除,C:\WINDOWS\USP10.dll可能一時刪不了,重命名後刪除。
如果您還覺得不放心,可以在註冊表查詢USP10.dll,刪除可疑項目。
注意:此方法有個缺陷,即病毒雖然被查殺,但系統檔也已經遭到破壞。所以推薦下邊的查殺方法。
來自瑞星卡卡安全論壇的查殺方法:
1、http://bbs.ikaka.com/showtopic-8592261.aspx
2、http://bbs.ikaka.com/showtopic-8589597.aspx
按照相關指示進行操作,步驟比較簡單,大家都可以看懂,我就不贅述了。
總結:目前此病毒還在進一步的蔓延,而各安全廠商也沒有給出專殺工具,作為我們普通線民,就需要多費點腦力體力,儘量保護我們的電腦!祝大家好運!

http://www.2000xg.com/default.asp?id=976