Re: Access violation in CreateForm
Daniel Rail <[email protected]> Mon, 15 Apr 2002 09:43:59 -0300
| Newsgroups | gmane.comp.lang.delphi.quick-reports |
|---|---|
| Message-ID | <[email protected]> |
At 15/04/2002 09:13 AM, you wrote: >We have a Delphi 3 application that uses QR. Normally program is >quite happy but we have recently had several instances on WinNT and >now one on Win XP where the following happens. > >1) Users use the program quite happily for several weeks. > >2) Suddenly, with no apparent reason, it stops working. They report >Access Violation in <application name> before the main screen is >displayed. > >Using the old-fashioned technique of creating a diagnostic version of >the program, I can trace the failure to the "CreateForm" call for the >first module that contains a QR report in the project source. > >I then created another diagnostic version that moved all of the QR >module "CreateForm"s further down the list and the diagnostics showed >that the program failed whilst creating exactly the same module. > >I have not overridden the Create method for this class. > >In the case of the NT 4 PCs, we can reset them to their original >state and the application runs again. This is not an option in the >case of the XP PC. > >Any ideas? Which version of QR are you using? Can you make modifications in the QR source code? Also, have you checked QuSoft's website(www.qusoft.com) for some explanations? I know that there are problems with the TEMP environment variable in Win2000 and WinXP and other issues as well. Daniel Rail Senior System Engineer ACCRA Group Inc. (www.accra.ca) ACCRA Med Software Inc. (www.accramed.ca)