ICE42 會驗證 InProc 伺服器未連結至 Class 資料表中的 EXE 檔案,。 它也會驗證只有 LocalServer 和 LocalServer32 類別具有自變數和 DefInProc 值。
結果
如果 Class 數據表中有連結至 EXE 檔案的 InProc 伺服器,ICE42 會張貼錯誤。
例
ICE42 會針對顯示的範例報告下列錯誤。
| ICE42 錯誤 | 描述 |
|---|---|
| CLSID '{GUID1}' 是 InProc 伺服器,但實作元件 'Component1' 具有 EXE ('test.exe') 作為其 KeyFile。 | 有一個可執行檔指定為 InProc 伺服器。 EXE 檔案不可以是 InProc 伺服器。 |
| 内容 'InProcServer32' 中的 CLSID '{GUID1}' 具有自變數。 只有 LocalServer 內容可以有自變數。 | 若要修正此錯誤,請移除 自變數。 |
| 内容 'InProcServer32' 中的 CLSID '{GUID1}' 會指定預設的 InProc 值。 只有 LocalServer 內容可以有預設的 InProc 值。 | 有一個物件具有預設的 InProc 值,不是在 LocalServer 或 LocalServer32 內容中作的物件。 若要修正此錯誤,請移除DeflnProc值或變更 類別的內容。 |
類別資料表 (部分)
| CLSID | 上下文 | 元件_ | DefInProcHandler | 論點 |
|---|---|---|---|---|
| {GUID1} | InProcServer32 | Component1 | InProcServer | 精 氨 酸 |
元件資料表 (部分)
| 元件 | KeyPath |
|---|---|
| Component1 | File1 |
檔案資料表 (部分)
| 檔 | 檔名 |
|---|---|
| File1 | test.exe |
相關主題