Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error 1202: Program is too large
Message
De
22/11/2013 13:44:28
 
 
À
22/11/2013 11:15:05
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01588426
Message ID:
01588529
Vues:
63
>>Attempting to compile the latest change and build a new .EXE, I received Error 1202: Program is too large. Help says there is a 65K limit on single procedure or program, but provides no way to identify which file.
>>
>>The previous build of the executable did not throw the error, despite the .EXE being 23 MB. and ADIR() showing half a dozen .PRGs and two .FXPs over 65K.
>>
>>The most likely culprit was split into two files, but the error persists. VFP 9 is available in development but cannot be used for deployment yet. I'm attempting to use this as a push to move to VFP 9, but for now, I need a VFP 6 solution to the problem.
>>
>>Chris.
>
>Hi Chris
>
>You must have made changes since the last exe to a set of programs. Those are the ones to look at first. If you use source control, you can find all recent changes. If you're not using source control... look into it. :)
>
>I know you can handle this in VFP 9 by setting PROGCACHE, but I would advise you to break the habits that led you to this point first.
>
>I've been advocating not using any procedure libraries for a long time. I recommend you stop doing ...
>
>You probably already SET PATH to find the proclib.prg. Although you might also be hard-coding the path into your program. That's not a good plan.
>

Preaching to the choir. It's an inherited codebase I'm trying to drag into the modern era. I previous posted here about source control - specifically finding the best source to control when previous versions are VB-inherited between directories with no coherent naming system.

I finally managed to hack things into enough pieces to avoid the error. What I don't understand is how it ever compiled previously...

Chris.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform