Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inputbox?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00363780
Message ID:
00366332
Views:
18
You need to use CLEAR ALL to release the fxp. This is documented in article Q192960, which also states that "This behavior is by design".

>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
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform