Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Looking for HELP rebuilding a VFE5 app
Message
De
28/03/2002 00:02:51
 
 
À
27/03/2002 10:28:19
Pierre Richard
Méthotech Canada Limitée
Kirkland, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxExpress
Divers
Thread ID:
00637549
Message ID:
00638273
Vues:
20
>Hi Al,
>
>>Have you done a "recompile all" and made sure you included the VFE5 class >libs?
>No I had not, but I tried something else this morning which is "port" the VFE5 sample LOCAL application. For this one I did "recompile all files" and I am getting a bunch of error messages mainly "syntax error" messages. Here is a sample of the error messages received.
>***
>Compiling c:\vfe5\common30\libs\cdbkmgr.vcx
>LOCAL lnSelect, luReturn, laHoldTables[1,2], laTablesOpen[1,2], lcAlias, ARRAY laFields[1], lnRow, lnI, lcCaption, jcCaption, lcFieldName
>Error in line 121 of cdbkmgr.getfieldprop (record 3): Syntax error.
>LOCAL lnSelect, luReturn, ARRAY laJoins[1], lnRow, lnI
>Error in line 242 of cdbkmgr.getjoinprop (record 3): Syntax error.
>
>Compiling c:\vfe5\common30\libs\dbcxmgr.vcx
>LOCAL llRetVal, lcExtObject, ARRAY laMgrList[1,1], ARRAY laHoldProps[1,3], ARRAY laMasterProps[1,3], lnNumMgrs, lnCounter, lcMethodCall, lcOptions, lnLenOfOptions, llFirstPass, llSecondPass, llThirdPass, lnId, llWrongData, lnDetached, llDetached, lcDbcAlias, lnSelect, lnItemCount, lnCurrentItem
>Error in line 1125 of metamgr.validate (record 12): Syntax error.
>local lcReturn, lcProperty, lnProperty, llDone, lnPos, lcLength, lnLength lnI, lnIDLength, lnIDCode
>Error in line 2323 of metamgr.getreldetail (record 12): Syntax error.
>LOCAL lnWasSelect, lnCounter, lnNumMgrs, lnCounter, lcObjName, llDifObjName, jcTempObjName, lcCreateCommand, lcGetCommand, lnNumProps, lnArrayRows, ARRAY laLibList[1,2], ARRAY laMaxId[1], lcRegTableName, lcClassAlias
>Error in line 2497 of metamgr.Init (record 12): Syntax error.
>LOCAL lnNumMgrs, lnCounter, ARRAY laMgrs[1]
>Error in line 2682 of metamgr.Destroy (record 12): Syntax error.
>LOCAL lnWasSelected, ARRAY laTempList[1,11], lnCounter
>Error in line 50 of basemgr.dbcxgetproplist (record 14): Syntax error.
>***
>
>What I don't understand is the fact that even this "out of the box" LOCAL apllication will not work. I guess that once I get the LOCAL application working mine will work as well. So for now I will concentrate on trying to recompile the LOCAL application before my own app.
>
>>What error(s) do you get?
>After a bunch of similar error messages like the above ... the builder stops with the locate file box following message:
>"Unable to find Unknow LAFLDVALUES" with the options to Locate, Ignore, Ignore all, Cancel
>
>Is this of any help to you in trying to solve my problem ?

Just a SWAG, but most of them don't seem to like dimensioning an array in a LOCAL declaration. You might try separating them out to a separate LOCAL ARRAY statement.

Is there a missing comma in one of them too?

You could also try using the VFE 5.5 classlibs instead of the 5.0. These were designed to work the same as the 5.0 but to work with VFP 6.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform