共用方式為


ICEM06

ICEM06 會檢查模組對功能無效的直接參考。

合併模組 ICE 會儲存在名為 Mergemod.cub 的合併模組 .cub 檔案中,而不是儲存在包含封裝驗證所用之 ICE 的 .cub 檔案中。

結果

當模組資料庫包含功能的直接參考時,ICEM06 會張貼錯誤。 功能信息必須由模組的使用者提供。

ICEM06 會針對包含下列資料庫專案之模組張貼下列錯誤訊息,如下所示。

The target of shortcut Shortcut1.GUID1 is not a property and not a null GUID. 
Modules may not directly reference features.
The row GUID2.LocalServer32.Component2 in the Class table has a feature reference 
that is not a null GUID. Modules may not directly reference features.

捷徑 (部分)

捷徑 目標
Shortcut1。GUID1 cmd.exe
Shortcut2。GUID1 [MyProp]
Shortcut3。GUID1 {00000000-0000-0000-0000-000000000000}

 

類別資料表 (部分)

CLSID 上下文 元件_ 特徵_
GUID1 LocalServer32 Component1 {00000000-0000-0000-0000-000000000000}
GUID2 LocalServer32 Component2 MyFeature

 

ICEM06 會報告第一個錯誤,因為 Shortcut 數據表中的第一筆記錄在 [目標] 字段中的專案不是屬性或 Null GUID。 模組無法直接參考功能。 功能信息必須由模組的使用者提供。 若要修正此錯誤,應該以 Null GUID 取代對功能的參考。

ICEM06 報告第二個錯誤,因為 Class 數據表中的第二筆記錄在功能欄位中的專案不是 Null GUID。 模組無法直接參考功能。 功能信息必須由模組的使用者提供。 若要修正此錯誤,應該以 Null GUID 取代對功能的參考。

合併模組 ICE 參考