[Jedicodeformat-developers] JCF Crash due to non-existence of frBasic.mruFiles
Brought to you by:
anthonysteele
From: xyz2042 <xy...@pr...> - 2023-09-10 20:59:31
|
Hi All, Hope there are still some JEDI Code Format people out there. Trying to get JcfGui.exe to work. It's a part of the JEDI Code Format project: https://jedicodeformat.sourceforge.net/ When compiling I get this error: ============================================= Field frmMain.frBasic does not have a corresponding component. Remove the declaration? ============================================= I answer no, and the program compiles. When it runs, it crashes with this error message: ============================================= Project jcfGui.exe raised exception class EAccessVioIation with message 'Access violation at address 00523F53 in module 'jcfGui.exe'. Write of address 0000025C'. Process stopped. Use Step or Run to continue. ============================================= The line in fMain.pas: frBasic.mruFiles := mruFiles; is the line that is highlighted in the debugger/editor. This the procedure where that line is: ============================================= procedure TfrmMain.FormCreate(Sender: TObject); begin SetObjectFontToSystemFont(Self); Application.HelpFile := GetHelpFilePath; Randomize; GetRegSettings.MRUFiles := mruFiles.Strings; GetRegSettings.ReadAll; fcConverter := TFileConverter.Create; fcConverter.OnStatusMessage := ShowStatusMesssage; frBasic.mruFiles := mruFiles; ///// <<<================= offending line frBasic.Read; frBasic.OnChange := SettingsChange; SettingsChange(nil); FormResize(nil); end; ============================================= Using Delphi 7 (because I can't afford the expensive newer version(s)). I've looked through the code in various versions from 2004, 2008, & 2009. Nowhere do I see a method/setting/procedure/object named: frBasic.mruFiles How could this code originally compile? Any idea about what is going on, or how to fix properly? I've searched just about everywhere in the Web I can think of. Nothing seems to be here that I can find: https://sourceforge.net/p/jedicodeformat/discussion/136080/?limit=250 Thanks for any help you can provide. |