Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem when running an exe
Message
De
26/02/2016 05:00:22
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01632118
Message ID:
01632119
Vues:
67
>The following code works fine when running the exe within VFP but does not work when running the exe from explorer - I think it is a problem with the mline function - the records are created in superdata but there is no data in ggg and consequently no data in linexdata
>
>Any ideas?
>
>SELECT super
>STORE 0 TO nn
>SCAN
>
>store memlines(indydata) to totlines
>
>for xx=1 to totlines
>store mline(indydata,xx) to ggg
>SELECT superdata
>APPEND blank
>replace linexdata WITH ggg
>SELECT super
>next
>endscan

Apart from checking the contents of the super table (which are presumably OK if you say it runs fine in IDE), I'd check what settings may be different between your exe and IDE - set("memowidth") and what else may be related to mline() and memlines(). Check sys(2019) to see which config.fpw is in effect in each case.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform