Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem when running an exe
Message
 
À
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:
01632120
Vues:
46
>>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.

I compiile the executable and run it from VFP - works OK

Then I run it from explorere and I have the problem

The settings in the exe are the same cos its the same exe - how do I check sys(2019) ?
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform