2006-04巴里島五日遊

快速記一下所有的行程:

  1. 開車到中正機場->下午到巴里島機場->Athena Villa Check-in->Kuta市區遊->Poppies晚餐->回Villa休息。
  2. 早上起床吃Villa早餐->包車Ubud之旅->買銀飾->看畫廊->Ubud傳統市場與皇宮->Indus午餐->看梯田->Bali Ratu SPA->Kuta Plaza 晚餐。
  3. 早上在Villa內SPA->換到InterContinental->海灘散步->游泳池旁邊曬太陽到天黑->回飯店小睡一番->游泳池旁的餐廳高級浪漫晚餐。
  4. 吃飯店高級早餐->睡回籠覺->Kuta市區KFC->去買Jomba Coffee->Kuta Plaza晚餐->回去拉肚子。
  5. 飯店早餐->睡回籠覺->到飛機->台北。

日程:4/13~4/17

About the running oder for Window Service

WindowsService (WinCE).JPG 

We usually doesn’t care about the startup odering of Window Services. But there is a situation about this.

You usually don’t care what you don’t understand.

Total Service: ServiceA and ServiceB.

In ServiceA we will retrieval some information via ServiceB. If ServiceB doesn’t start before ServiceA this future will failed. Because all Window Service are controled by SCM (“Service Control Manager).

How do we make sure the startup odering of Window Services?

Actually, SCM dispath all service ramdonly, such that you can not promise the services startup odering. But  (mm Here comes a hreo ).

We can set the dependency of every service.

ServiceDependency (Small).JPG 

You can try to open SCM and open a service propertied dialog to see the same information as bellow.

In the table of “Dependency”, you will see all depdency services of this service. It will make sure when this service starup all dependency service should already startup. You should set when you create such service.

::CreateService(hSCM,     // SCM pointer   m_szServiceName,   // service identify name   m_szServiceName,   // Display service name to display    SERVICE_ALL_ACCESS,  // desired access   SERVICE_WIN32_OWN_PROCESS, // service type   SERVICE_AUTO_START,  // start type   SERVICE_ERROR_NORMAL,  // error control type   szFilePath,   // service's binary   NULL,    // no load ordering group   NULL,    // no tag identifier   _T("RPCSS"),   // Dependencies on RPC Call Service.   NULL,    // LocalSystem account   NULL);    // no password > >

Please reference MSDN for more detail.

Office Live 線上版OFFICE???

Microsoft Office Live 

jiangsheng看來的資訊,OfficeLive開放註冊了。

30MB的網路儲存空間,一個免費的國外網域(恩~~沒錯的~ 是免費的喔~~)

於是我申請了evanlin.net來用(應該還不能用吧~~可以先看TEMP)

OfficeLive (Small).JPG

由於其他功能都要收費(還沒去試用~),光是Web Designer就跟MT實在是很像(雖然蠻親近、好用的),不過光是看到送一個DomainName就實在很誘人~~

一些WCF的補充資料

官方網頁:
http://windowscommunication.net/

  1. Windows Communication Foundation入门(Part One)
  2. Windows Communication Foundation入门(Part Two)

等之後手邊輕鬆一點就來弄~~

Borland 在日前宣佈要出售旗下所有IDE部門

Borland

日前軟體IDE產業一時的霸主Borland,曾經利用Pascal迅速爆紅在程式語言的世界中,並且以Delphi與Borland C++獲得與微軟共爭霸主的軟體公司,日前在宣佈購併軟體生命週期管理公司(ALM)Segue後,隨即又宣佈要全部出售自己旗下所有的IDE部門(包括Delphi、C++Builder、C#Builder、JBuilder (and Peloton)、InterBase、JDataStore、nDataStore、Kylix與原來的Turbo Pascal產品線)。

相關新聞:

  1. Borland计划出售其IDE部门,买家尚未确定
  2. 求成長 Borland出售開發工具業務
  3. Borland出售IDE部门
  4. 谁会买下Delphi?(孟岩)
  5. Borland plans separate company for Delphi, JBuilder, C++Builder, InterBase, JDataStore and other developer products…
  6. 它終於發生了!(李維的Blog)

 蠻久之前在閱讀完Borland傳奇之後,對於Borland這間公司的發展狀況感到相當的好奇與注意。但是卻在今天(感覺~~~似乎有點太慢了~~)才知道這個消息。感覺相當的可惜,畢竟我第一套熟悉的IDE產品。也是Borland C++ Builder 1.0,並且在五專的時候,BC++3.0也陪我度過多少個熬夜的晚上。對於大學時代所學習的PASCAL更是覺得相當的好用與經典,只能說~~ 真的是太可惜了~~ 

What is TLB??

FilExt of TLB.
(TYPE Library) OLE Type Library

.TLB:OLE庫文件,其中存放了OLE自動化對象的數據類型、模組和接口定義,自動化伺服器透過TLB文件就能了解自動化對象的使用方法。

此檔案可供其他語言來了解COM的內部架構與Interface.

可以用VC6 的OLE Viewer(OLEView.exe)去察看~~

TLB (WinCE).JPG