Index
2013-09-19 11:55Desmond Lloyd : VFP6: Program too Large
2013-09-19 12:04jerry foote : RE: VFP6: Program too Large
2013-09-19 12:05desmond.lloyd@gmail.com: Re: VFP6: Program too Large
2013-09-19 12:08Andrew Stirling : Re: VFP6: Program too Large
2013-09-19 12:21Desmond Lloyd : Re: VFP6: Program too Large
2013-09-19 12:55Ted Roche : Re: VFP6: Program too Large
2013-09-19 13:44Desmond Lloyd : Re: VFP6: Program too Large
2013-09-19 14:58Wes Wilson : : VFP6: Program too Large
2013-09-19 15:17Stephen Russell : Re: : VFP6: Program too Large
Back to top
VFP6: Program too Large

Author: Desmond Lloyd

Posted: 2013-09-19 11:55:18   Link

Was hoping that with all this wisdom out there that you someone might be

able to provide some input.

Supporting a rather old VFP6 Application have an .prg file that is 4477

lines long, or 165kb in size, the fxp file is 103kb.

Opened it this morning and added about ten lines of code and "program too

large" appeared when compiling it. Tried removing functions/procedures

from the bottom of the file. (moved them to a procedure file), like

several hundred lines, still wouldn't compile....

I should add that I pasted the code from another program which started this

fun filled exercise. . Finally by removing some lines of code and

"tweaking" what I needed to do it was good.

Guess I'm teetering on the edge of who knows what....

Any suggestions? How to guage when this is going to happened? and why

after removing all those lines at the "bottom" of the file did it refuse to

compile?

TIA for any input.

Regards,

Desmond

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/CAAJXvaMq=asYzt8ypkdaue0VEjVk3RVipABup4=MVdNKeLKeQg@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2013 Desmond Lloyd
Back to top
RE: VFP6: Program too Large

Author: jerry foote

Posted: 2013-09-19 12:04:22   Link

Are you compiling to exe?

jerry

-----Original Message-----

From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Desmond Lloyd

Sent: Thursday, September 19, 2013 11:55 AM

To: ProFox Email List

Subject: VFP6: Program too Large

Was hoping that with all this wisdom out there that you someone might be

able to provide some input.

Supporting a rather old VFP6 Application have an .prg file that is 4477

lines long, or 165kb in size, the fxp file is 103kb.

Opened it this morning and added about ten lines of code and "program too

large" appeared when compiling it. Tried removing functions/procedures

from the bottom of the file. (moved them to a procedure file), like

several hundred lines, still wouldn't compile....

I should add that I pasted the code from another program which started this

fun filled exercise. . Finally by removing some lines of code and

"tweaking" what I needed to do it was good.

Guess I'm teetering on the edge of who knows what....

Any suggestions? How to guage when this is going to happened? and why

after removing all those lines at the "bottom" of the file did it refuse to

compile?

TIA for any input.

Regards,

Desmond

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/10C4DCE9681B4F0398FBF6A6E94A5635@jerryfootePC

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2013 jerry foote
Back to top
Re: VFP6: Program too Large

Author: desmond.lloyd@gmail.com

Posted: 2013-09-19 12:05:53   Link

No, FXP...

Sent via BlackBerry by AT&T

-----Original Message-----

From: "jerry foote" <jerryf@footegroup.com>

Sender: "ProFox" <profox-bounces@leafe.com>Date: Thu, 19 Sep 2013 12:04:22

To: 'ProFox Email List'<profox@leafe.com>

Reply-To: ProFox Email List <profox@leafe.com>

Subject: RE: VFP6: Program too Large

Are you compiling to exe?

jerry

-----Original Message-----

From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Desmond Lloyd

Sent: Thursday, September 19, 2013 11:55 AM

To: ProFox Email List

Subject: VFP6: Program too Large

Was hoping that with all this wisdom out there that you someone might be

able to provide some input.

Supporting a rather old VFP6 Application have an .prg file that is 4477

lines long, or 165kb in size, the fxp file is 103kb.

Opened it this morning and added about ten lines of code and "program too

large" appeared when compiling it. Tried removing functions/procedures

from the bottom of the file. (moved them to a procedure file), like

several hundred lines, still wouldn't compile....

I should add that I pasted the code from another program which started this

fun filled exercise. . Finally by removing some lines of code and

"tweaking" what I needed to do it was good.

Guess I'm teetering on the edge of who knows what....

Any suggestions? How to guage when this is going to happened? and why

after removing all those lines at the "bottom" of the file did it refuse to

compile?

TIA for any input.

Regards,

Desmond

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/10C4DCE9681B4F0398FBF6A6E94A5635@jerryfootePC

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/1398976423-1379610355-cardhu_decombobulator_blackberry.rim.net-648888747-@b15.c13.bise6.blackberry

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2013 desmond.lloyd@gmail.com
Back to top
Re: VFP6: Program too Large

Author: Andrew Stirling

Posted: 2013-09-19 12:08:06   Link

Do Ted's fix, restart windows.

Kill the fxp file and try again.

Open file and copy all the contents to a new program and try that out.

Kind regards

Andrew Stirling

01250 874580

support@calcpay.co.uk

http://www.calcpay.co.uk

HMRC Accredited since 12/01/2004

On 19/09/2013 17:55, Desmond Lloyd wrote:

> Was hoping that with all this wisdom out there that you someone might be

> able to provide some input.

>

> Supporting a rather old VFP6 Application have an .prg file that is 4477

> lines long, or 165kb in size, the fxp file is 103kb.

>

> Opened it this morning and added about ten lines of code and "program too

> large" appeared when compiling it. Tried removing functions/procedures

> from the bottom of the file. (moved them to a procedure file), like

> several hundred lines, still wouldn't compile....

>

> I should add that I pasted the code from another program which started this

> fun filled exercise. . Finally by removing some lines of code and

> "tweaking" what I needed to do it was good.

>

> Guess I'm teetering on the edge of who knows what....

>

> Any suggestions? How to guage when this is going to happened? and why

> after removing all those lines at the "bottom" of the file did it refuse to

> compile?

>

> TIA for any input.

> Regards,

> Desmond

>

>

> --- StripMime Report -- processed MIME parts ---

> multipart/alternative

> text/plain (text body -- kept)

> text/html

> ---

>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/523B2F76.1020706@calcpay.co.uk

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2013 Andrew Stirling
Back to top
Re: VFP6: Program too Large

Author: Desmond Lloyd

Posted: 2013-09-19 12:21:46   Link

Did all of that and no joy. Just as soon as I rebooted the computer,

started up VP6, modi comm, and compiled.... It is an unusually large

program, largest in this app anyway.. Needs to be cleaned up....

Still any further suggestions would be gladly welcomed!

Thank You Mr. Stirling!, appreciate your input...

Regards,

Desmond

On 19 September 2013 12:08, Andrew Stirling <support@calcpay.co.uk> wrote:

>

> Do Ted's fix, restart windows.

> Kill the fxp file and try again.

> Open file and copy all the contents to a new program and try that out.

>

>

> Kind regards

>

> Andrew Stirling

> 01250 874580

> support@calcpay.co.uk

> http://www.calcpay.co.uk

> HMRC Accredited since 12/01/2004

>

>

> On 19/09/2013 17:55, Desmond Lloyd wrote:

>

>> Was hoping that with all this wisdom out there that you someone might be

>> able to provide some input.

>>

>> Supporting a rather old VFP6 Application have an .prg file that is 4477

>> lines long, or 165kb in size, the fxp file is 103kb.

>>

>> Opened it this morning and added about ten lines of code and "program too

>> large" appeared when compiling it. Tried removing functions/procedures

>> from the bottom of the file. (moved them to a procedure file), like

>> several hundred lines, still wouldn't compile....

>>

>> I should add that I pasted the code from another program which started

>> this

>> fun filled exercise. . Finally by removing some lines of code and

>> "tweaking" what I needed to do it was good.

>>

>> Guess I'm teetering on the edge of who knows what....

>>

>> Any suggestions? How to guage when this is going to happened? and why

>> after removing all those lines at the "bottom" of the file did it refuse

>> to

>> compile?

>>

>> TIA for any input.

>> Regards,

>> Desmond

>>

>>

>> --- StripMime Report -- processed MIME parts ---

>> multipart/alternative

>> text/plain (text body -- kept)

>> text/html

>> ---

>>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/CAAJXvaP6qLy_ONb04iFx=UmrC4t3kzza5qu+OGK92HOGU8YO7A@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2013 Desmond Lloyd
Back to top
Re: VFP6: Program too Large

Author: Ted Roche

Posted: 2013-09-19 12:55:19   Link

VFP6 is limited to any individual function not exceeding 64k. If you

inadvertently delete one of the FUNCTION... RETURN end brackets, two long

functions now joined can produce this error.

On Thu, Sep 19, 2013 at 1:21 PM, Desmond Lloyd <desmond.lloyd@gmail.com>wrote:

> Did all of that and no joy. Just as soon as I rebooted the computer,

> started up VP6, modi comm, and compiled.... It is an unusually large

> program, largest in this app anyway.. Needs to be cleaned up....

>

> Still any further suggestions would be gladly welcomed!

>

> Thank You Mr. Stirling!, appreciate your input...

>

> Regards,

> Desmond

>

>

>

>

> On 19 September 2013 12:08, Andrew Stirling <support@calcpay.co.uk> wrote:

>

> >

> > Do Ted's fix, restart windows.

> > Kill the fxp file and try again.

> > Open file and copy all the contents to a new program and try that out.

> >

> >

> > Kind regards

> >

> > Andrew Stirling

> > 01250 874580

> > support@calcpay.co.uk

> > http://www.calcpay.co.uk

> > HMRC Accredited since 12/01/2004

> >

> >

> > On 19/09/2013 17:55, Desmond Lloyd wrote:

> >

> >> Was hoping that with all this wisdom out there that you someone might be

> >> able to provide some input.

> >>

> >> Supporting a rather old VFP6 Application have an .prg file that is 4477

> >> lines long, or 165kb in size, the fxp file is 103kb.

> >>

> >> Opened it this morning and added about ten lines of code and "program

> too

> >> large" appeared when compiling it. Tried removing functions/procedures

> >> from the bottom of the file. (moved them to a procedure file), like

> >> several hundred lines, still wouldn't compile....

> >>

> >> I should add that I pasted the code from another program which started

> >> this

> >> fun filled exercise. . Finally by removing some lines of code and

> >> "tweaking" what I needed to do it was good.

> >>

> >> Guess I'm teetering on the edge of who knows what....

> >>

> >> Any suggestions? How to guage when this is going to happened? and why

> >> after removing all those lines at the "bottom" of the file did it refuse

> >> to

> >> compile?

> >>

> >> TIA for any input.

> >> Regards,

> >> Desmond

> >>

> >>

> >> --- StripMime Report -- processed MIME parts ---

> >> multipart/alternative

> >> text/plain (text body -- kept)

> >> text/html

> >> ---

> >>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/CACW6n4uqOZf1a+=1-jNHZcP-CyA5V3iCw2-JefeoYqfv9RvxAQ@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2013 Ted Roche
Back to top
Re: VFP6: Program too Large

Author: Desmond Lloyd

Posted: 2013-09-19 13:44:10   Link

I did not know that. Makes sense (of course), would explain why if I

remove large chunks of the code down at the bottom it still won't compile.

Will review the code for proper placement of returns.

Thank you so much for the input!

Regards,

Desmond

On 19 September 2013 12:55, Ted Roche <tedroche@gmail.com> wrote:

> VFP6 is limited to any individual function not exceeding 64k. If you

> inadvertently delete one of the FUNCTION... RETURN end brackets, two long

> functions now joined can produce this error.

>

>

>

> On Thu, Sep 19, 2013 at 1:21 PM, Desmond Lloyd <desmond.lloyd@gmail.com

> >wrote:

>

> > Did all of that and no joy. Just as soon as I rebooted the computer,

> > started up VP6, modi comm, and compiled.... It is an unusually large

> > program, largest in this app anyway.. Needs to be cleaned up....

> >

> > Still any further suggestions would be gladly welcomed!

> >

> > Thank You Mr. Stirling!, appreciate your input...

> >

> > Regards,

> > Desmond

> >

> >

> >

> >

> > On 19 September 2013 12:08, Andrew Stirling <support@calcpay.co.uk>

> wrote:

> >

> > >

> > > Do Ted's fix, restart windows.

> > > Kill the fxp file and try again.

> > > Open file and copy all the contents to a new program and try that out.

> > >

> > >

> > > Kind regards

> > >

> > > Andrew Stirling

> > > 01250 874580

> > > support@calcpay.co.uk

> > > http://www.calcpay.co.uk

> > > HMRC Accredited since 12/01/2004

> > >

> > >

> > > On 19/09/2013 17:55, Desmond Lloyd wrote:

> > >

> > >> Was hoping that with all this wisdom out there that you someone might

> be

> > >> able to provide some input.

> > >>

> > >> Supporting a rather old VFP6 Application have an .prg file that is

> 4477

> > >> lines long, or 165kb in size, the fxp file is 103kb.

> > >>

> > >> Opened it this morning and added about ten lines of code and "program

> > too

> > >> large" appeared when compiling it. Tried removing

> functions/procedures

> > >> from the bottom of the file. (moved them to a procedure file), like

> > >> several hundred lines, still wouldn't compile....

> > >>

> > >> I should add that I pasted the code from another program which started

> > >> this

> > >> fun filled exercise. . Finally by removing some lines of code and

> > >> "tweaking" what I needed to do it was good.

> > >>

> > >> Guess I'm teetering on the edge of who knows what....

> > >>

> > >> Any suggestions? How to guage when this is going to happened? and

> why

> > >> after removing all those lines at the "bottom" of the file did it

> refuse

> > >> to

> > >> compile?

> > >>

> > >> TIA for any input.

> > >> Regards,

> > >> Desmond

> > >>

> > >>

> > >> --- StripMime Report -- processed MIME parts ---

> > >> multipart/alternative

> > >> text/plain (text body -- kept)

> > >> text/html

> > >> ---

> > >>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/CAAJXvaMTp1jzr99Xgn8mKiXwxwaVhJ62Np19HsSweGcMHQ11Aw@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2013 Desmond Lloyd
Back to top
: VFP6: Program too Large

Author: Wes Wilson

Posted: 2013-09-19 14:58:13   Link

Try putting some of your functions and/or procedures in a proc file.

or

comment out functions / procs one at a time starting with the large ones

Once you find the culprit(s), then put them in a proc file.

Also, it is remotely possible that you have some characters less than chr(32) or greater than chr(126 or 127).  You could eliminate them by looking at every byte. The only exception, I think, is tab and cr.

Good luck.

Wes

 

Wes Wilson, President

ERW Custom Programming, Inc.

Crescent Lake Plaza

5459  Elizabeth Lake Rd.

Waterford, MI 48327

(248) 683-4182

www.erw.com

 

weswilson@erw.com

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/1379620693.54293.YahooMailNeo@web140205.mail.bf1.yahoo.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2013 Wes Wilson
Back to top
Re: : VFP6: Program too Large

Author: Stephen Russell

Posted: 2013-09-19 15:17:49   Link

On Thu, Sep 19, 2013 at 2:58 PM, Wes Wilson <erwweswilson@yahoo.com> wrote:

> Try putting some of your functions and/or procedures in a proc file.

>

> or

>

> comment out functions / procs one at a time starting with the large ones

>

> Once you find the culprit(s), then put them in a proc file.

>

> Also, it is remotely possible that you have some characters less than

> chr(32) or greater than chr(126 or 127). You could eliminate them by

> looking at every byte. The only exception, I think, is tab and cr.

> -------------

Or just execute everything via macro substitution because that is so

maintainable.

--

Stephen Russell

Sr. Analyst

Ring Container Technology

Oakland TN

901.246-0159 cell

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/CAJidMYL=9FkqT3BsEK6dLmEE7ZZZdQgeoCWrm4kdoT_wwXdD_w@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2013 Stephen Russell