图1 安装工具库DSOFile.dll 我们要使用名为DSOFile.dll的COM对象从关闭的工作簿中读取文档属性,因此,需要下载并安装该DLL。 FileHasSomeProperty(ByVal sFileAs String, _ ByVal sProperty As String) As Boolean Dim objDSO As DSOFile.OleDocumentProperties Dim objProperty As DSOFile.CustomProperty '使用DSOFile来获取指定文件的文档属性 Set objDSO = New DSOFile.OleDocumentProperties
它首先会编译C源程序(.c)files为对应的目标代码文件(.o),然后连接这些目标代码和files中其余的目标代码文件(.o和.a),以生成动态共享对象dsofile 。