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

ICE48

· 52CE 我爱测

ICE48 checks for directories that are hard-coded to local paths in the Property table.

ICE48 checks for directories that are hard-coded to local paths in the Property table.

Do not hard-code directory paths to local drives because computers differ in the setup of the local drive. This practice may be acceptable if deploying an application to a large number of computers on which the relevant portions of the drives are all the same.

Result

ICE48 posts an error message if there is a directory that is hard-coded to a local path in the Property table.

Example

ICE48 would report the following warning for the example shown.

Directory 'Dir1' appears to be hardcoded in the property 
    table to a local drive.

Directory Table (partial)

Directory Directory_Parent DefaultDir
Dir1 SourceDir

Property Table (partial)

Property Value
Dir1 d:\source

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)

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

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