Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inputbox?
Message
 
À
03/05/2000 21:10:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00363780
Message ID:
00366317
Vues:
12
Hi,

I've also made a messagebox/inputbox replacement but I have the same 'problem' as both of yours. That is, if I call the inputbox.fxp from demo.exe, then the .fxp is locked, even after it finishes. I think an example will be better:

Make a project call demo add a prg call demo:

demo.prg
x=inputbox()
wait window 'Waiting'

Exclude inputbox from the project and build demo.exe (I've also removed the set procedure to inputbox.prg for this test)

Run demo.exe from one machine, and then try to change and compile inputbox.prg from another, and you can't!
The only way is, if you ran demo.exe from the command window, then issue clear all, otherwise finish it. But for this type of programs, that will hopefully run in lots of applications/machines is not something allways posible to do.

Do you know if there is a solution for this problem, other than making a 'stub' program? (I didn't try so I dont even know if the 'stub' will work)

Regards,
Hugo
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform