Access violation problem... lazarus / 8-Other ---------------------------------------------------------------------- Anonymous · 2006-01-09 17:20 Hi, I've a problem as I'm trying to localize an application. I use an ini file to do so which contains a translation for each Caption property of the components on my form. This method used to work on another project I created... Somehow, my program hangs lately and I can't find what is wrong. Whenever I add a few more captions it hangs. Could someone please tell me what is wrong in the following lines or why I get this message? I'm running Lazarus  0.9.10 on Kubuntu 5.10... Thanks a lot for any help This is the code : Code: [Select]procedure TForm1.ButtonLoadInterfaceClick(Sender: TObject); var langini : Tinifile; var loclang:string; begin loclang:=''; With OpenDialoglocale     do     if execute then     try     langini:=TiniFile.Create(OpenDialoglocale.FileName);     //loads locale -> menus     MenuItem1.Caption:=langini.ReadString('menu','MenuItem1',loclang);     MenuItemNew.Caption:=langini.ReadString('menu','MenuItemNew',loclang);     MenuI]"]>Blockedpen.Caption:=langini.ReadString('menu','MenuI]"]>B lockedpen',loclang);     MenuItemSave.Caption:=langini.ReadString('menu','MenuItemSave',loc lang);     MenuItemSaveAs.Caption:=langini.ReadString('menu','MenuItemSaveAs' ,loclang);     MenuItemExportWeb.Caption:=langini.ReadString('menu','MenuItemExpo rtWeb',loclang);     MenuItemQuit.Caption:=langini.ReadString('menu','MenuItemQuit',loc lang);     MenuItem12.Caption:=langini.ReadString('menu','MenuItem12',loclang);     MenuItemTutorial.Caption:=langini.ReadString('menu','MenuItemTutor ial',loclang);     MenuItemAbout.Caption:=langini.ReadString('menu','MenuItemAbout',l oclang);     MenuItemInterface.Caption:=langini.ReadString('menu','MenuItemInte rface',loclang);     MenuItemLoadInterface.Caption:=langini.ReadString('menu','MenuItem LoadInterface',loclang);     MenuItemInterfaceDefault.Caption:=langini.ReadString('menu','MenuI temInterfaceDefault',loclang);     //loads locale -> tabs     TabTitleInstructions.Caption:=langini.ReadString('tabs','TabTitleI nstructions',loclang);     TabQuestions.Caption:=langini.ReadString('tabs','TabQuestions',loc lang);     TabParameters.Caption:=langini.ReadString('tabs','TabParameters',l oclang);     TabSource.Caption:=langini.ReadString('tabs','TabSource',loclang);          //loads locale -> messages     GroupBoxMessages.Caption:=langini.ReadString('messages','GroupBoxM essages',loclang);     EditTitle.EditLabel.Caption:= langini.ReadString('messages','EditTitle',loclang);     EditInstructions.EditLabel.Caption:= langini.ReadString('messages','EditInstructions',loclang);       except     end; end; And here's the ini file : Quote[menu] MenuItem1=File MenuItemNew=New MenuI]"]>Blockedpen=Open MenuItemSave=Save MenuItemSaveAs=Save as MenuItemExportWeb=Create Web page MenuItemQuit=Quit MenuItemInterface=Interface MenuItemLoadInterface=Load interface MenuItemInterfaceDefault=Set interface as default MenuItem12=Help MenuItemTutorial=Tutorial MenuItemAbout=About [tabs] TabTitleInstructions=Title and Instructions TabQuestions=Questions TabParameters=Parameters TabSource=Source code for advanced users [messages] GroupBoxMessages=Messages EditTitle=Title EditInstructions=Instructions ---------------------------------------------------------------------- Anonymous · 2006-01-09 18:59 Sorry for this post. I found the error which is outside of this section...