Re: Access violation in CreateForm

"jeffgallant2002" <[email protected]> Mon, 15 Apr 2002 15:09:15 -0000
Newsgroups gmane.comp.lang.delphi.quick-reports
Message-ID <[email protected]>
Tom/Daniel

Thanks for these replies. 

I thought that the TEMP environment setting only affected Win 2K, not 
NT or XP. We actually have had the problem with two different 
versions of our app, one built with the free version of QR 3.0 and 
the other with QR Professional 3.0.8 which has the fix for TEMP (we 
have a number of users on Win 2K). Yes, I did try the QR Knowledge 
Base but could not find anything.

I will look at creating the forms on demand. You are right that it is 
a good technique for reports although it does not explain why PCs 
suddenly develop this problem and, as you say, it may only delay the 
problem.

Best wishes

Jeff Gallant

--- In quick-reports@y..., Daniel Rail <daniel@a...> wrote:
> 
> >The latest version of QR (3.5.X) has workarounds for XP and W2K
> >machines.  Check the Temp path in your environment settings and 
make
> >sure the length is not too long. If it is, create a new temp dir 
under
> >windows and use it (C:\Windows\Temp).  This is a known bug for the
> >older versions of QR.
> 
> Unfortunately for Jeff, QR 3.5.x is only available for Delphi 5 and 
Delphi 
> 6, not Delphi 3.   But, creating a new TEMP directory as suggested 
is an 
> option to consider and try.   If Jeff has the source code of QR 3 
for 
> Delphi 3, he can make the required changes.
> 
> Your second recommendation is an excellent one to follow(just 
supporting 
> you here).  I do it all the time for any form other than the main 
> form.  And, it helps a lot in memory management.  I've learned this 
lesson 
> 5 years ago.
> 
> Have a nice day.
> 
> 
> Daniel Rail
> Senior System Engineer
> ACCRA Group Inc. (www.accra.ca)
> ACCRA Med Software Inc. (www.accramed.ca)