Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FYI: .EXE compiled with SP4 errors out with SP3 runtime
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00473459
Message ID:
00473756
Vues:
25
Frank,

I personally hate macros, when they could be easily avoided.
How about:
store 2 + thisprog.aantalvelden to (_sc+".otreatbar.COLUMNCOUNT")
I know, that if code works, it's unlikely to change it, but I think, I'm just a perfectionist in my soul, so when I see lots of unnecessary macros in my colleague's code, I barely can keep myself to not change it...

HTH


>Hi!
>
>Is 'otreatbar' part of the name or it is independent name? If it is independent name, than you should use following syntax:
>
>&_sc..otreatbar.COLUMNCOUNT = 2 + thisprog.aantalvelden
>
>Check also if _sc variable does not contains trailing spaces.
>
>>Hello everybody,
>>
>>I deployed a .EXE compiled with SP4 together with the foxpro SP4 runtime .DLL's.
>>Some users reported an error (Invalid expression) on the following line:
>>
>>&_sc.otreatbar.COLUMNCOUNT = 2 + thisprog.aantalvelden
>>
>>(thisprog.aantalvelden is a numerical and is allways (a whole number) -1 or bigger)
>>&_sc is the reference to the right pageframe
>>otreatbar is a listbox.
>>
>>All users who got the error had the SP3 runtime .DLL's because the IT department 'forgot' to update the runtime libraries.
>>I'm not looking for workaround or ways to improve it. It has always worked and it works with SP4 (if the right DLL's are used).
>>
>>I just wanted to let you know that there is no 100% garantee that SP4 executables work with SP3 runtime libraries.
>>
>>Regards,
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform