文件名称:13002203
介绍说明--下载内容均来自于网络,请自行研究使用
容易的方法是调用一个专门用于此目的的函数 DllGetVersion。问题是虽然 comctl32.dll 支持该函数,但并不是所有的 DLLs 都具备它。如果不具备 DllGetVersion,那么就得用难的方法——使用 FileVersion API,这可能是你要遭遇到的最为暧昧的 API 之一。我写了一个类 CModuleVersion 来封装两种方法,同时还写了一个Demo程序 VersionDlg 来示范 CModuleVersion 的使用方法。程序画面如 Figure 1 所示。你可以在编辑框中敲入任何系统模块的名字,VersionDlg 将用 DllGetVersion (如果具备这个函数的话)和 FileVersion API 两种方法显示版本信息-easier method is a special calling for this purpose DllGetVersion function. The problem is that although comctl32.dll support functions, but not all the DLLs have had it. If we do not have DllGetVersion. Well, it is imperative to use the hard way -- use FileVersion API, It may be you have to suffer the most ambiguous one of the API. I wrote a class CModuleVersion to Packaging two methods also wrote a Demo VersionDlg procedures to model CModuleVersion The usage. Procedures such as the screen shown in Figure 1. You can edit box key in any system module name, VersionDlg DllGetVersion will be used (if this function), and-Fi leVersion API version of the two methods shows that the information
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 1588387413002203.rar 列表 13002203\apr98cqacode.exe 13002203