大网数据广告活动
安装更新与部署

ICE42

· 52CE 我爱测

ICE42 validates that InProc servers are not linked to EXE files in the Class table. It also validates that only LocalServer and LocalServer32 classes have arguments and DefInProc values.

ICE42 validates that InProc servers are not linked to EXE files in the Class table. It also validates that only LocalServer and LocalServer32 classes have arguments and DefInProc values.

Result

ICE42 posts an error if there are InProc servers linked to EXE files in the Class table.

Example

ICE42 would report the following errors for the example shown.

ICE42 error Description
CLSID '{GUID1}' is an InProc server, but the implementing component 'Component1' has an EXE ('test.exe') as its KeyFile. There is an executable file specified as an InProc server. EXE files cannot be InProc servers.
CLSID '{GUID1}' in context 'InProcServer32' has an argument. Only LocalServer contexts can have arguments. To fix this error, remove the argument.
CLSID '{GUID1}' in context 'InProcServer32' specifies a default InProc value. Only LocalServer contexts can have default InProc values. There is an object with a default InProc value that is not an object operating in the LocalServer or LocalServer32 contexts. To fix this error, remove the DeflnProc value or change the context of the class.

Class Table (partial)

CLSID Context Component_ DefInProcHandler Argument
{GUID1} InProcServer32 Component1 InProcServer Arg

Component Table (partial)

Component KeyPath
Component1 File1

File Table (partial)

File Filename
File1 test.exe

Related topics

ICE Reference

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。