这段程序是啥意思啊?我是一头雾水(50分)

  • 主题发起人 主题发起人 雪球
  • 开始时间 开始时间

雪球

Unregistered / Unconfirmed
GUEST, unregistred user!
program ProTY;<br><br>{%DelphiDotNetAssemblyCompiler '$(SystemRoot)/microsoft.net/framework/v1.1.4322/System.dll'}<br>{%DelphiDotNetAssemblyCompiler '$(SystemRoot)/microsoft.net/framework/v1.1.4322/System.Data.dll'}<br>{%DelphiDotNetAssemblyCompiler '$(SystemRoot)/microsoft.net/framework/v1.1.4322/System.Drawing.dll'}<br>{%DelphiDotNetAssemblyCompiler '$(SystemRoot)/microsoft.net/framework/v1.1.4322/System.Windows.Forms.dll'}<br>{%DelphiDotNetAssemblyCompiler '$(SystemRoot)/microsoft.net/framework/v1.1.4322/System.XML.dll'}<br>{$R 'WinForm.TWinForm.resources' 'WinForm.resx'}<br>{$R 'DataForm.TWinForm1.resources' 'DataForm.resx'}<br>{$R 'CfgForm.TWinForm2.resources' 'CfgForm.resx'}<br>{%DelphiDotNetAssemblyCompiler 'ComImports/Interop.MSCommLib.dll'}<br>{%DelphiDotNetAssemblyCompiler 'ComImports/AxInterop.MSCommLib.dll'}<br>{%DelphiDotNetAssemblyCompiler 'ComImports/Interop.stdole.dll'}<br>{%DelphiDotNetAssemblyCompiler 'ComImports/Interop.MSDATASRC.dll'}<br>{%DelphiDotNetAssemblyCompiler 'ComImports/Interop.MSChart20Lib.dll'}<br>{%DelphiDotNetAssemblyCompiler 'ComImports/AxInterop.MSChart20Lib.dll'}<br>{%DelphiDotNetAssemblyCompiler 'ComImports/Interop.StdType.dll'}<br>{%DelphiDotNetAssemblyCompiler 'ComImports/Interop.ChartfxLib.dll'}<br>{%DelphiDotNetAssemblyCompiler 'ComImports/AxInterop.ChartfxLib.dll'}<br>{%DelphiDotNetAssemblyCompiler 'ComImports/Interop.CTVLib.dll'}<br>{%DelphiDotNetAssemblyCompiler 'comimports/AxInterop.CTVLib.dll'}<br>{%ConfigurationCompiler 'app.config'}<br><br>uses<br> &nbsp;System.Reflection,<br> &nbsp;System.Runtime.CompilerServices,<br> &nbsp;System.Windows.Forms,<br> &nbsp;WinForm in 'WinForm.pas' {WinForm.TWinForm: System.Windows.Forms.Form},<br> &nbsp;DataForm in 'DataForm.pas' {DataForm.TWinForm1: System.Windows.Forms.Form},<br> &nbsp;CfgForm in 'CfgForm.pas' {CfgForm.TWinForm2: System.Windows.Forms.Form};<br><br>{$R *.res}<br><br>{$REGION 'Program/Assembly Information'}<br>//<br>// General Information about an assembly is controlled through the following<br>// set of attributes. Change these attribute values to modify the information<br>// associated with an assembly.<br>//<br>[assembly: AssemblyDescription('')]<br>[assembly: AssemblyConfiguration('')]<br>[assembly: AssemblyCompany('')]<br>[assembly: AssemblyProduct('')]<br>[assembly: AssemblyCopyright('')]<br>[assembly: AssemblyTrademark('')]<br>[assembly: AssemblyCulture('')]<br><br>// The Delphi compiler controls the AssemblyTitleAttribute via the ExeDescription.<br>// You can set this in the IDE via the Project Options.<br>// Manually setting the AssemblyTitle attribute below will override the IDE<br>// setting.<br>// [assembly: AssemblyTitle('')]<br><br><br>//<br>// Version information for an assembly consists of the following four values:<br>//<br>// &nbsp; &nbsp; &nbsp;Major Version<br>// &nbsp; &nbsp; &nbsp;Minor Version <br>// &nbsp; &nbsp; &nbsp;Build Number<br>// &nbsp; &nbsp; &nbsp;Revision<br>//<br>// You can specify all the values or you can default the Revision and Build Numbers <br>// by using the '*' as shown below:<br><br>[assembly: AssemblyVersion('1.0.*')]<br><br>//<br>// In order to sign your assembly you must specify a key to use. Refer to the <br>// Microsoft .NET Framework documentation for more information on assembly signing.<br>//<br>// Use the attributes below to control which key is used for signing. <br>//<br>// Notes: <br>// &nbsp; (*) If no key is specified, the assembly is not signed.<br>// &nbsp; (*) KeyName refers to a key that has been installed in the Crypto Service<br>// &nbsp; &nbsp; &nbsp; Provider (CSP) on your machine. KeyFile refers to a file which contains<br>// &nbsp; &nbsp; &nbsp; a key.<br>// &nbsp; (*) If the KeyFile and the KeyName values are both specified, the <br>// &nbsp; &nbsp; &nbsp; following processing occurs:<br>// &nbsp; &nbsp; &nbsp; (1) If the KeyName can be found in the CSP, that key is used.<br>// &nbsp; &nbsp; &nbsp; (2) If the KeyName does not exist and the KeyFile does exist, the key <br>// &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; in the KeyFile is installed into the CSP and used.<br>// &nbsp; (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.<br>// &nbsp; &nbsp; &nbsp; When specifying the KeyFile, the location of the KeyFile should be<br>// &nbsp; &nbsp; &nbsp; relative to the project output directory. For example, if your KeyFile is<br>// &nbsp; &nbsp; &nbsp; located in the project directory, you would specify the AssemblyKeyFile <br>// &nbsp; &nbsp; &nbsp; attribute as [assembly: AssemblyKeyFile('mykey.snk')], provided your output<br>// &nbsp; &nbsp; &nbsp; directory is the project directory (the default).<br>// &nbsp; (*) Delay Signing is an advanced option - see the Microsoft .NET Framework<br>// &nbsp; &nbsp; &nbsp; documentation for more information on this.<br>//<br>[assembly: AssemblyDelaySign(false)]<br>[assembly: AssemblyKeyFile('')]<br>[assembly: AssemblyKeyName('')]<br>{$ENDREGION}<br><br>[STAThread]<br>begin<br> &nbsp;Application.Run(TWinForm.Create);<br>end.<br><br>因为用delphi的时间很短,而且也只用了其中一点点的东西,所以实在是看不懂这个是什么,难道不是所有的源程序都是unit开头的吗?<br><br>delphi8的程序不能用delphi7打开吗?难道它不向下兼容吗?
 
这个是D8。NET工程的工程文件,DELPHI家族最大的缺点就是互相的不兼容:)
 
那我用delphi7写的程序能嵌套在这个里面吗?
 
delphi7的程序代码可以直接移植到delphi8中吗?
 
鄙人自费建了一个QQ群 ,号码:22037366 请大家申请加入,唯一的要求是不要谈论Delphi以外的东西,我们的目标是将Delphi进行到底
 
[red]delphi7的程序代码可以直接移植到delphi8中吗? [/red]
 
同题问!!
 
delphi7的程序代码可以直接移植到delphi8中吗<br>=========<br>可以 不过也许要经过不少修改
 
如果版本能兼容该多好
 
delphi7的程序代码可以直接移植到delphi8中吗<br>=========<br>可以 不过肯定要经过不少修改
 
后退
顶部