Erros shutting down apps
Posted: Sat 28 May 2005 15:29
I'm using the trial version of the MyDAC in Delphi7 windows XP prof, and I'm having the following problems:
1. I start a new blank applicationl. I put a TMyConnection and a TMyConnectDialog on the form. I compile and run the app. Then when I close the app, it never returns to the IDE. It's stuck with the form invisible. I have to do Run|Program Reset to return control to the IDE.
2. Then I add a button on the form with the following code:
if MyConnectDialog1.Execute then
showmessage('Connected');
Then I compile the app and run it. I click on the button and am able to connect. But then when I quit the app I get an EAccessViolation.
Any suggestions would be much appreciated.
Thanks,
1. I start a new blank applicationl. I put a TMyConnection and a TMyConnectDialog on the form. I compile and run the app. Then when I close the app, it never returns to the IDE. It's stuck with the form invisible. I have to do Run|Program Reset to return control to the IDE.
2. Then I add a button on the form with the following code:
if MyConnectDialog1.Execute then
showmessage('Connected');
Then I compile the app and run it. I click on the button and am able to connect. But then when I quit the app I get an EAccessViolation.
Any suggestions would be much appreciated.
Thanks,