Ive made a really small class object in a unit (no form)
Type TQICheck = class
destructor Destroy; override;
function QMessageMe: String;
function IMessageMe: String;
2 public functions to return me a message string based on calculations within the private procedures.
MessageString := '';
From another form when I click a button
procedure TForm_Main.TBB_QMessagesClick(Sender: TObject);
OutputString := MyMessage.QMessageMe;
MessageDlg(OutputString, mtInformation, [mbOK], 0);
Everything seems ok to me but obivously Im missing a basic line or something if I want free/destroy it (through the application)
When I shutdown my App I get lots of access violations.
I havent put any other code into the program apart from this.
Can someone tell me what I need to handle this correctly
Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.