My application run under 12.1.6 very well. I uninstall 12.1.6 and install 12.2.2. or 12.2.3.
After compilation the application crash. No error returns. Under 12.1.6 the app works fine.
What can I do?
We have closed this ticket because another page addresses its subject:
AV terminating application without first showing main formupdate from VCLProduct-12.1.6 to VCLProduct -12.2.2 or 12.2.3 - application crash
Answers approved by DevExpress Support
A similar problem has been already discussed in our Support Center. Please refer to the AV terminating application without first showing main form ticket for additional information.
I would recommend reporting the actual error (Exception class and error message) along with the callstack. You can use the free version of madExcept to help do this.
Hello,
Mr. Woolls is completely correct. You can use the information provided in the How to get the callstack in the IDE? Knowledge Base article to learn how to collect CallStack information. However, it would be much better if you provide us with a sample project so that we can precisely replicate your scenario on our side.
Mr. Nathanial :-)
I stand corrected. Should read, Mr. Woolls. I have corrected my previous reply.
Hi it is not possible to do it with madExcept or CallStack. Delphi XE2 hang completly and i can do nothing. In the debug modus
it crash at:
Form1:= TForm1.Create(Application);
source code :
if Umgebung = 0 then begin
Umgebungname := 'Produktiv-System (Netz)' ;
//if (MessageDlg('System auf Produktiv - Umgebung mit Netz umstellen?', mtConfirmation, [mbYes, mbNo], 0) in [mrYes]) then begin
Screen.Cursor := crSQLWait;
DataModule1:= TDataModule1.Create(Application);
datamodule1.datamodul1ende ;
//datamodule1.MSLogin.Active := false ;
datamodule1.MSConnection1.Connected := false ;
datamodule1.MSConnection1.Disconnect ;
datamodule1.datamodul1start ;
Form:= TForm1.Create(Application);
form1.dxStatusBar1.Panels[5].Text := Umgebungname+' '+Standortname ;
Screen.Cursor := crdefault;
SplashForm.hide ;
form1.ShowModal ;
//end ;
end ;
Hello,
Thank you for your reply. I regret to inform you that this information is insufficient for us to find the cause of the issue. This problem looks like the one discussed in the AV terminating application without first showing main form ticket. Would you please take a look at that thread? Perhaps, that solution can help you avoid Access Violation.
If it does not help, please provide us with a small sample project to precisely replicate your scenario on our side. We will do our best to find the cause of the issue.
Thx. Solve it!
Hello,
Thank you for the great news. I have updated the answer section accordingly.