>>>>>Create a new menu "Compile active project external"
>>>>>Determine Activeproject, close the project, call the external VFP, and reopen project afterwards.
>>>>>;)
>>>>
>>>>Ahem..., "Build...". :)
>>>>
>>>>Will try something like this in a ProjectHook class when possible, and come back with whatever findings I get.
>>>
>>>I think you will become problems from a project hook. You would need to kill a object from itself and rebuild from the same code. This might not work.
>>
>>Just to keep the
brainstorming mood on: I think the .Close() method of ProjectHook destroys itself and releases the project. Never tried it, though. Nevertheless, it must pass control to a different instantiated object for the reopening.
err... Project's object Close() method...
>>
>>
>>>BTW, to widen my last message:
>>>
>>>The code in the menu might create the prg mentioned earlier on the fly (e.g. insert the project in the code). Then you got something generic.
>>
>>What I've tried so far in a ProjectHook subclass creates the prg and the fpw, also. But stumbles in the exclusivity requirement of the builder.
>
>I think the tricky thing is the close - open from inside the instance. All I can think of:
>
>create an timer bound to _screen and let this timer do the work
Yes, if it will ever be functional I think it will have to go this route...
----------------------------------
António Tavares Lopes