你的web1是什么?如果是Webbrowser控件,那么shdocvw应该会被系统自动加入到uses中,可能是你没有在uses中加入 ActiveX 。该模块定义了IPersistFile接口