Large forms cause GPF in Pdox 7. Is there still a 64K code limit? 
Author Message
 Large forms cause GPF in Pdox 7. Is there still a 64K code limit?

With Paradox 7 for 95/NT is there still a 64K code limit on
a form? I have been converting my app from 5.0 to 7.0 and
two of my largest forms now GPF when I try to run them. If I
remove some arbitrary fields to make the forms smaller, they
then run fine. I seem to recall this problem with Paradox
1.0. By the way I have installed the 6/18/96 patch.



Sun, 10 Oct 1999 03:00:00 GMT
 Large forms cause GPF in Pdox 7. Is there still a 64K code limit?

Quote:

> With Paradox 7 for 95/NT is there still a 64K code limit on
> a form? I have been converting my app from 5.0 to 7.0 and
> two of my largest forms now GPF when I try to run them. If I
> remove some arbitrary fields to make the forms smaller, they
> then run fine. I seem to recall this problem with Paradox
> 1.0. By the way I have installed the 6/18/96 patch.

We have several forms with over 20,000 lines of code.  Chances are, the
GPF is caused by specefic code.  Sometimes Paradox 7 will give a general
protection fault when certain code is run.  Usually it is something
poorly written but not technically incorrect.  Try to trace through the
code to find exactly when it gives the error.

It may turn out that the GPF is not code related.  Paradox will also
give GPFs because of an object.  (Nothing you could have done wrong,
just a bug in Paradox.)  Back-up the form, then delete the objects one
by one until you can run the form without getting a GPF.  Try to narrow
it down to specific objects that cause the GPF.  You can probably delete
them and then replace them with new ones.  (The objects seem to get
corrupted somehow.)

By the way, exactly how large is this form (lines of code, kb in size,
etc.)?

--
                                Grendal

"Fingers on harp strings, hero-swords, the acts,
the eyes of queens.  By this I kill you." - Beowulf


My employer: http://www.hrplus.com



Sun, 10 Oct 1999 03:00:00 GMT
 Large forms cause GPF in Pdox 7. Is there still a 64K code limit?

Quote:
> With Paradox 7 for 95/NT is there still a 64K code limit on
> a form? I have been converting my app from 5.0 to 7.0 and
> two of my largest forms now GPF when I try to run them. If I
> remove some arbitrary fields to make the forms smaller, they
> then run fine. I seem to recall this problem with Paradox
> 1.0. By the way I have installed the 6/18/96 patch.

I don't know the answer to your specific question but under the
conditions you describe you should move much of your code to a library.
It will give you faster performance as well.

Daniel A. Morgan



Wed, 13 Oct 1999 03:00:00 GMT
 
 [ 3 post ] 

 Relevant Pages 

1. Form over 64k did not give GPF

2. large sql statement causes a GPF

3. Q: Creating a form multiple times causes a GPF

4. Pdox 10, Pdox 10 Runtime, and Printing GPF

5. ODBC SQL Statement length limit of 64k???

6. OLAP Services, 64K members per parent limit

7. String Limit on 64K (Help, Please)

8. 64k limit on memo field, not?

9. 64K limit for blobs with Apollo

10. 64K Textbox Limit.....

11. Help with text field 64K limit

12. 64K limit on memo field, not?


 
Powered by phpBB® Forum Software