在Delphi中,生成一个Appliction工程时,会默认生成一个与工程同名的资源文件,即使删除也会再度创建,但是这个资源文件中只有一个图标和一个版本信息。 通常情况下,我们还需要更多的多种多样的资源,虽然可以在IDE中载入并编译到EXE文件中去,但是有时我们需要将资源与EXE分开,以便生成多语言程序或将程序改为其它语言(如汉化)。
FastReport 4.12 VCL for Delphi XE2,按默认方法安装,将语言切换为中文简体后,不管是设计时还是运行时,设计器的菜单项部分中文乱码,从盒子搜索到了解决方法,摘录如下:
方法一:
procedure TServerMethods1.dspMastersBeforeApplyUpdates(Sender: TObject; var OwnerData: OleVariant); var SessionID, InsertID: Integer; begin { Add a new element related to the current session. } SessionID:= TDSSessionMa
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; namespace WindowsFormsControlLibrary1 {