Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP8 hangs while building app from a project
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00793861
Message ID:
00794563
Views:
9
Sorry Jozef, I should have read that it is an app file.

Have you tried specific CLEAR commands like CLEAR RESOURCES, CLEAR PROGRAM, etc?

I would guess that a "dangling object reference" could cause such a situation.

good luck

>Hi Jim
>
>The appplication is runnnig within VFP ( VFP screen is also my application screen VFP menu is replaced by my application menu ). I used all "display " command option to find what is not closed by me,
>debuger trace window is blank and I can work in VFP normally untill I want to build the app file again. All seems OK. But app file is still opened so VFP8 can not build it again.
>
>
>
>>Jozef,
>>
>>So it sound like you open the project, BUILD it, test the app (as an EXE outside VFP?), restart VFP, open the project, make some mods, (re)BUILD the project and you get a hang, correct?
>>
>>Have you used the Task Manager (before reBUILD or after "hang") to check if the app EXE is still showing active? If so (it is there) I wonder if the hang will end if you stop the task?
>>
>>Using VFP7 I had something similar but NO HANG - it just stopped at end of build telling me that there was an access violation and it couldn't write the EXE. I found that it *was* listed in the Task Manager even though it had apparently ended normally.
>>
>>good luck
>>
>>
>>>Hi David !
>>>I created quite new project file. Behaviour is the same.
>>>In meantime I found more direct reason of this hanging. VFP8 hangs while "buid app ..." command because old app file is still open so it can not be deleted.
>>>I tried different clear and close commands to close the app file - without results. Simply after several starting and ending cycles of my application VFP does not close the app file. Sometimes this happens after first exit from my application sometimes after "n" exit.
>>>
>>>
>>>>Jozef,
>>>>
>>>>Why not just start a new project in VFP, put your main.prg in and let it build the project from that starting point?
>>>>
>>>>>I moved a project from VFP7 to VFP8, now I have problem with VFP8 hanging while building app from the project (about 150 files in the project).
>>>>>Sometimes this hanging ends with project .pjt file corruption
>>>>>It never hangs if buliding is done immiediatly after starting VFP.
>>>>>I had never such problems with VFP7
>>>>>
>>>>>I tried different ways with no result
>>>>>- recompile all files
>>>>>- clean up project
>>>>>- replace object field in project with ""
>>>>>
>>>>>what else can I do ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform